Forum Discussion

nils-drews's avatar
11 years ago
Solved

sort_by for user search

I'd like to get a stable list of users from the search API. I had a look at your SEARCH API and concluded I could do something like:   /restapi/vc/search/users?q=(login:[""+TO+*])   to get all us...
  • ChhamaJ's avatar
    11 years ago

     Hi nils-drews ,

     

    To sort by registration time, you need to add sort_by=reg_date as the query parameter. So the query should be 

    /restapi/vc/search/users?q=(login:[""+TO+*])&sort_by=reg_date

     

    Hope this helps.

     

    Regards,
    Chhama