Edit a camera settings and / or configuration

patch/api/v1/cameras/{id}

Request body

namestring

Name of the camera

trigger_scheme'EVERY_10_MIN' | 'ON_LAYER_CHANGE'

When the snapshot is taken

rotationinteger

Current rotation of the output image

exposurenumber
send_to_connectboolean

Example request

{
  "name": "MuadDib_Camera_1",
  "resolution": {
    "width": 640,
    "height": 640
  },
  "rotation": 180,
  "exposure": 4.2,
  "send_to_connect": true
}

Response

OK

Changes