Create a new CollectionSearch
The most commmon use of an CollectionSearch is to retrieve all the Collection resources associated with a User
Security
bearerToken
- Productionhttps://api-v2.dash.app/collection-searches
- Staginghttps://api-v2.dashstaging.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 }