Skip to main content
Skip table of contents

Set default position

This request invokes the SetHomePosition method via ONVIF.

This functionality is not currently in use.

POSTapi/v1/cameras/{camera}/set/home

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

Response

200

Успешный ответ

JSON
{
    "status": "ok"
}
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

Example

JSON
curl -k --location --request POST 'https://vms.localapi/v1/cameras/{camera}/set/home' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.