A standard AssetSearch will only allow you to page to 10,000 results regardless of the value returned in the totalResults property.
If you need to be able to process more than 10,000 results consider an AssetScrollSearch instead.
Security
bearerToken
The maximum number of items to return in the result set.
Default:100
Example:100
Default:"SEARCH_FOR_VIEW"
Enum:"SEARCH_FOR_CHANGE_LIFECYCLE_STATE_TO_PENDING_APPROVAL""SEARCH_FOR_CHANGE_LIFECYCLE_STATE_TO_LIVE""SEARCH_FOR_CHANGE_LIFECYCLE_STATE_TO_BINNED""SEARCH_FOR_DELETE""SEARCH_FOR_EDIT""SEARCH_FOR_PROMOTE_TO_LIVE""SEARCH_FOR_SEND_FOR_APPROVAL""SEARCH_FOR_VIEW"
Example:"SEARCH_FOR_VIEW"
- Productionhttps://api-v2.dash.app/asset-searches
- Staginghttps://api-v2.dashstaging.app/asset-searches
- Search by field option id
- Search by field value
- Search by any field value
- Search for field is empty
- Search by date added range
- Search by keywords
- Search by file extension
- Search by not file extension
- Search by multiple file extensions
- Search by filename
- Search for staged assets staged by user
- All assets ordered by date added
- All assets in a collection
- Search within assets in a collection
- Match all and aggregate on filetype
curl -i -X POST \
https://api-v2.dash.app/asset-searches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"from": 0,
"pageSize": 100,
"criterion": {
"type": "FIELD_EQUALS",
"value": "a32fe863-0a1d-4b54-990a-b094139cf81c",
"field": {
"type": "FIELD",
"fieldId": "a52b5315-15b8-417f-b742-d6902108bac1"
}
},
"sorts": []
}'Response
- STAGED
- PENDING_APPROVAL
- LIVE
- BINNED
{ "results": [ { … } ], "totalResults": 1337, "aggregations": { "property1": { … }, "property2": { … } } }