Reporting a camera. VMS Client API
Users can report cameras, and administrators will see these reports.
POST/api/v1/issues/{issue}/cameras/{camera}Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
issueoptional | int | Complaint identifier. The list of possible complaints can be found in the Basic configurations | |||||||
cameraoptional | int | Camera identifier |
Response | |||||||||
200 | Camera object | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
| |||||||||
404 | Camera does not belong to the user or does not exist | ||||||||
429 | Number of complaints for a camera exceeds the limit | ||||||||
JSON
|
Example | |||||||||
JSON
|