List of marks
List of markers available to the user. The types of available markers may vary depending on the client. The list of available markers for the client can be found in Main configurations
GET/api/v1/marksHeaders | |||||||||
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 | |||||||
pagerequired | int | Pagination page number | |||||||
daterequired | string | Template for filtering by a specific date label. This field is mandatory when the timezone field is present | |||||||
timezonerequired | string | Timezone for date filtering template. Example - Europe/Paris. This field is mandatory when the date field is present | |||||||
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 | |||||||
camerasrequired | array | Only markers from cameras in the cameras array (array of camera IDs) will be included in the response. Maximum of 100 items | |||||||
excluded_camerasrequired | array | Only markers from cameras not included in the excluded_cameras array (array of camera IDs) will be included in the response. Maximum of 100 items | |||||||
sortrequired | string | Field to sort the markers by | |||||||
dirrequired | string | Direction in which to sort the markers |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid | ||||||||
403 | If a requested marker type is not available to the current user | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|