List of all analytics events
Paginated list of all analytics events available to the user.
GET/api/v1/analytic-case/eventsHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
per_pagerequired | int | Number of items per pagination page. Default is 25 | |||||||
camerasrequired | array | Array of camera IDs for which events will be displayed | |||||||
fromrequired | string | Starting date for filtering events | |||||||
torequired | string | Ending date for filtering events | |||||||
eventsrequired | array | Array of values for filtering by analytics events | |||||||
analytic_typesrequired | array | Array of values for filtering by analytics case type | |||||||
idsrequired | array | Array of analytics case IDs for filtering | |||||||
daterequired | string | Template for filtering by date | |||||||
timezonerequired | string | Timezone for date filtering template. Example: Europe/Paris. This field is required when filtering by the «date» field | |||||||
dirrequired | string | Sorting direction for date. «desc» - from larger to smaller, «asc» - from smaller to larger | |||||||
similarity_fromrequired | int | Similarity percentage for filtering, starting from which filtering will be applied | |||||||
similarity_torequired | int | Similarity percentage for filtering, up to which filtering will be applied |
Response | |||||||||
200 | Returns the list of analytics events on the i-th pagination page | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|