Skip to content

Search for asset download events

Request

Security
bearerToken
Bodyapplication/jsonrequired
fromintegerrequired

The item number to begin the result set from

Default:0
Example:0
pageSizeinteger, [ 0 .. 1000 ]required

The maximum number of items to return in the result set.

Default:100
Example:100
criterionobjectrequired
sortsArray of objectsrequired

Sorts to be applied to the search in order of precedence

Default:[]
aggregationsobject

A map of requested aggregations. The results will be returned in a map with the same provided keys.

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": {}
  }'

Responses

Success

Bodyapplication/json
resultsArray of objectsrequired

The specified page of [AssetDownloadEvent] resources which match the search criterion

totalResultsintegerrequired

The total number of [AssetDownloadEvent] resources which match the search criterion

Example:15
aggregationsobjectrequired

A map of the aggregations requested keyed on the user provided key in the request

Response
{ "totalResults": 3, "results": [ {}, {}, {} ], "aggregations": [] }