Report AUP event totals
GET https://{{host}}/etp-report/v3/configs/:configId/aup-events/aggregate?dimension={{dimension}}&startTimeSec={{startTimeSec}}&endTimeSec={{endTimeSec}}&filters={{filters}}
Lists total counts for AUP events, aggregated for the given time period.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dimension | string | (Required) Enum Optionally filter by a dimension of data. Refer to Filters for complete list. | |
cardinality | string | (Optional) The number of records to fetch for the aggregation. | |
startTimeSec | string | (Required) The start time for report data, in epoch seconds. | |
endTimeSec | string | (Required) The end time for report data, in epoch seconds. | |
filters | string | (Required) Filters report data using the Filters JSON object. You supply this object as the value after you define the filter parameters. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"aggregations":[{"id":"-1","name":"Gambling","total":321},{"id":"1","name":"Firearms","total":201},{"id":"2","name":"Violence","total":98},{"id":"3","name":"Adult","total":12},{"id":"OTHERS","total":6}],"dimension":{"id":"category","name":"category","total":5}}