List of events for the day
List of analytics events for a day. The maximum time difference between «from» and «to» is 24 hours.
The response will include a list of events that occurred within the specified time interval, and within each event, there will be details of when it occurred and from which camera.
There may not be a camera object because the camera itself may not exist.
If there were more than 250 events within the specified time range, a grouped list of events will be returned.
GET/api/v1/calendar/detailedHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
fromrequired | string | Date from which events will be displayed | |||||||
torequired | string | Date until which events will be displayed | |||||||
camerasrequired | array | Array of camera IDs for which events will be displayed | |||||||
eventsrequired | array | Array of values for filtering analytics events |
Response | |||||||||
200 | Returns a list of analytics events | ||||||||
JSON
| |||||||||
200 | Returns a list of analytics events grouped by event type and time interval | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation |
Example | |||||||||
JSON
|