Retrieve live streaming link
Headers | |||||||||
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 | |||||||
typerequired | string | Stream type for which we want to obtain the URL. If not provided, the default value is «low» | |||||||
sourcerequired | string | Type of stream for which we want to obtain the URL |
Response | |||||||||
200 | The main URL is stored in the «url» field, while the «fallback_url» is used in the web if the player required for the URL is not available in the current browser | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
403 | If temporary access to the camera is blocked, an error with a 403 status code will be returned, with a response body similar to a 422 error | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|