GET api/admin/v1/deleted-cameras/{camera}
int camera, уникальный идентификатор удаленной камеры
int
200 OK
OK
Возвращает объект удаленной камеры
{ "id": 72, "name": "mediaserver1.vms.local", "created_at": "2022-01-27 19:26:22", "updated_at": "2022-01-27 19:26:22" }
401 Unauthorized
Unauthorized
Токен авторизации не передан или не валидный. Получение токена
curl -k --request POST \ --url 'https://your-domainapi/admin/v1/deleted-cameras/{camera}' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "camera": 0 }'
$data = array ( 'camera' => 0, ); $context = stream_context_create([ 'ssl'=>['verify_peer' => false], 'http' => [ 'method' => 'GET', 'header' => "Content-Type: application/json\r Accept: application/json", 'content'=>json_encode($data) ] ]); $result = file_get_contents('https://your-domainapi/admin/v1/deleted-cameras/{camera}', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.