Skip to content

Change camera state

Request

Change the state of a camera from running to paused or vice-versa.

Security
api_key
Path
cameraIdstring, (uuid)required

the camera ID of the camera.

newStatestringrequired

The state to which the camera will be set: running cameras are processing video and have notifications on, paused cameras are not processing video, notifications are off and can be re-activated.

Enum:"running""paused"
curl -i -X PUT \
  'https://coreapi.hoxton.ai/_mock/v1/cameras/{cameraId}/state/{newState}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Response
No content