Create a new CollectionSearch
The most commmon use of an CollectionSearch is to retrieve all the Collection resources associated with a User
The request must include criterion with type ASSOCIATED_WITH_USER and the userId of the user whose folders should be listed.
Security
bearerToken
The maximum number of items to return in the result set.
Default:100
Example:100
- Productionhttps://api-v2.dash.app/collection-searches
curl -i -X POST \
https://api-v2.dash.app/collection-searches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"from": 0,
"pageSize": 100,
"criterion": {
"type": "ASSOCIATED_WITH_USER",
"userId": "google-oauth2|110955770826801837334"
},
"sorts": [
{
"field": "NAME",
"order": "ASC"
}
]
}'Success
The specified page of Collection resources which match the search criterion
The total number of Collection resources which match the search criterion
Example:15
Response
{ "results": [ { … }, { … }, { … } ], "totalResults": 3 }