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
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
{ "results": [ { … } ], "totalResults": 1337, "aggregations": { "property1": { … }, "property2": { … } } }