GET|POST /api/users/:id/files/search
								Search for user files
Query parameters
| Parameter | Example | Description | 
|---|---|---|
q | 
?q=wanted | 
The search string | 
Post parameters
| Parameter | Type | Required | Description | 
|---|---|---|---|
search | 
stringorarray
 | 
 | 
Either search string or array with query and options keys | 
filterBy | 
array | 
 | 
Array of filters | 
sortBy | 
stringorarray
 | 
 | 
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 |