List of markfor a camera
Works the same way as List of marks, but returns markers within the scope of a single camera, up to a maximum of 1000 items
GET/api/v1/cameras/{camera}/marksHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
cameraoptional | int | Camera identifier | |||||||
fromrequired | date | Start date from which the markers will be displayed | |||||||
torequired | date | End date until which the markers will be displayed | |||||||
typesrequired | array | Only types from the types array will be included in the response. The list of available types can be found in Main configurations |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid | ||||||||
403 | If a requested mark type is not available to the current user | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|