Create a new Asset Download Event Search
Security
bearerToken
The maximum number of items to return in the result set.
Default:100
Example:100
- Productionhttps://api-v2.dash.app/asset-download-event-searches
- Staginghttps://api-v2.dashstaging.app/asset-download-event-searches
- MATCH_ALL
- FIELD_EQUALS
- FIELD_IN_RANGE
- AND
- OR
- NOT
- Search downloads by user id
- Search downloads by user email and asset id
- Search downloads by multiple asset ids
- Search downloads within date range
- Aggregate all downloads by date
- Aggregate portal downloads by portal
- Aggregate account user downloads by user id
- Aggregate account user downloads by user id and asset id
curl -i -X POST \
https://api-v2.dash.app/asset-download-event-searches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"from": 0,
"pageSize": 100,
"criterion": {
"type": "FIELD_EQUALS",
"field": "USER_ID",
"value": "162c8739-b830-4d2f-b241-97951734a04e"
},
"sorts": [
{
"field": "DATE_TIME",
"order": "DESC"
}
],
"aggregations": {}
}'Success
The specified page of [AssetDownloadEvent] resources which match the search criterion
The total number of [AssetDownloadEvent] resources which match the search criterion
Example:15
Response
- ACCOUNT_USER
- SHARE_USER
- PORTAL_USER
- UNKNOWN
- Results with paged events without aggregations
- Results with paged events with aggregations
- Results without paged events with terms bucket aggregations
- Results without paged events with multiple terms bucket aggregations
- Results without paged events with date histogram bucket aggregations
- No results
{ "totalResults": 3, "results": [ { … }, { … }, { … } ], "aggregations": [] }