GET|POST
/api/users/:id/search
Search for users
Query parameters
Parameter | Example | Description |
---|---|---|
q |
q=wanted |null
|
The search string |
Post parameters
Parameter | Type | Required | Description |
---|---|---|---|
search |
string |array
|
|
Either search string or array with query and options keys |
filterBy |
array |
|
Array of filters |
sortBy |
string |array
|
|
Sort the returned results |
not |
array |
|
Array of results to be excluded |
paginate |
array |
|
Paginate the returned results |
limit |
int |
|
Limits the number of returned results |
offset |
int |
|
Sets a manual offset |