---
updatedAt: 2026-06-05T18:58:19.000Z
agentTools:
  projectIndex: https://developer.eagleeyenetworks.com/llms.txt
---

# /cameras/{cameraId}/settings

Updates the settings of a camera.

It will throw an error if the setting in the payload is not supported by a camera type. 
It won't apply any settings in case of error.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "DEVICES",
    "version": "3.0.0"
  },
  "servers": [
    {
      "url": "https://{BaseUrl}/api/v3.0",
      "description": "Eagle Eye Networks API Server",
      "variables": {
        "BaseUrl": {
          "default": "api.cxxx.eagleeyenetworks.com",
          "description": "HTTPS Base url to use for all API calls, retrieved from https://api.eagleeyenetworks.com/api/v3.0/clientSettings"
        }
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Cameras",
      "description": "All core operations on cameras."
    }
  ],
  "paths": {
    "/cameras/{cameraId}/settings": {
      "parameters": [
        {
          "$ref": "#/components/parameters/cameraId"
        }
      ],
      "patch": {
        "operationId": "updateCameraSettings",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CameraSettings"
              }
            }
          }
        },
        "tags": [
          "Cameras"
        ],
        "description": "Updates the settings of a camera.\n\nIt will throw an error if the setting in the payload is not supported by a camera type. \nIt won't apply any settings in case of error.\n",
        "responses": {
          "204": {
            "description": "Camera Updated"
          },
          "400": {
            "$ref": "#/components/responses/validationError"
          },
          "401": {
            "$ref": "#/components/responses/unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/forbidden"
          },
          "404": {
            "$ref": "#/components/responses/resourceNotFound"
          },
          "500": {
            "$ref": "#/components/responses/internalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "RtspConnectionSettings": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RtspConnectionSettings"
          }
        ],
        "required": [
          "ipAddress",
          "videoResourceUrl"
        ]
      },
      "TimeZoneString": {
        "type": "string",
        "example": "America/Chicago",
        "description": "The timezone the device is in. The list of supported timezones is provided by the /timeZones endpoint. Changing the time zone will change the time zone for the bridge and attached cameras.\n"
      },
      "ApiDeviceCredentials": {
        "type": "object",
        "x-jsoninclude-nonnull-annotation": true,
        "properties": {
          "username": {
            "type": "string",
            "description": "Username to use when authenticating with the device",
            "maxLength": 126
          },
          "password": {
            "type": "string",
            "description": "Password to use when authenticating with the device",
            "maxLength": 126
          }
        }
      },
      "ApiV3Error": {
        "type": "object",
        "properties": {
          "code": {
            "description": "HTTP code defined in EEN Standard Code Values",
            "type": "integer"
          },
          "status": {
            "description": "A string enum describing the code",
            "type": "string",
            "enum": [
              "cancelled",
              "unknown",
              "invalidArgument",
              "deadlineExceeded",
              "notFound",
              "conflict",
              "permissionDenied",
              "resourceExhausted",
              "failedPrecondition",
              "aborted",
              "outOfRange",
              "unimplemented",
              "internal",
              "unavailable",
              "dataLoss",
              "unauthenticated",
              "mediaTypeNotSupported",
              "acceptNotSupported",
              "methodNotSupported",
              "tooManyRequests",
              "badGateway"
            ]
          },
          "message": {
            "description": "Developer friendly human readable error message in English",
            "type": "string"
          },
          "details": {
            "description": "An array of extensible objects that define error information",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExceptionDetail"
            }
          }
        },
        "required": [
          "code",
          "status",
          "message",
          "details"
        ]
      },
      "ExceptionDetail": {
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/ErrorInfoExceptionDetail"
          },
          {
            "$ref": "#/components/schemas/BadRequestExceptionDetail"
          },
          {
            "$ref": "#/components/schemas/ResourceInfoExceptionDetail"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "errorInfo": "#/components/schemas/ErrorInfoExceptionDetail",
            "badRequest": "#/components/schemas/BadRequestExceptionDetail",
            "resourceInfo": "#/components/schemas/ResourceInfoExceptionDetail"
          }
        },
        "properties": {
          "type": {
            "description": "A string enum describing the type of detail object.",
            "type": "string",
            "enum": [
              "errorInfo",
              "badRequest",
              "resourceInfo"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "ErrorInfoExceptionDetail": {
        "properties": {
          "type": {
            "description": "A string enum describing the type of detail object.",
            "type": "string",
            "enum": [
              "errorInfo"
            ]
          },
          "reason": {
            "description": "The reason for the error. This is a constant value that identifies the proximate cause of the\nerror. Error reasons are unique within a particular domain of errors.\n",
            "type": "string",
            "enum": [
              "unauthenticated",
              "unexpectedArgument",
              "missingRequiredArgument",
              "wrongArgumentValue",
              "invalidPermission",
              "wrongEdition",
              "wrongAccountType",
              "resourceNotFound",
              "endpointNotFound",
              "methodNotSupported",
              "unexpectedError",
              "acceptNotSupported",
              "alreadyExists",
              "foreignKeyConflict",
              "childDevicesExist",
              "contentNotSupported",
              "deadlineExpired",
              "tooManyRequests",
              "deviceUnavailable",
              "serviceUnavailable",
              "invalidJSON",
              "resourceLocked",
              "notSupportedOnBridge",
              "outOfRetention",
              "deviceIdentificationFailed",
              "credentialValidationFailed",
              "credentialSetupFailed",
              "localUrlValidationFailed",
              "hwRegistrationFailed",
              "failedAddingCameraAfterValidation",
              "neverConnected",
              "reconnectFailed",
              "unsupportedModel",
              "purged",
              "userBlocked",
              "userTemporarilyBlocked",
              "quotaExceeded",
              "alreadyValidated",
              "reAuthenticationRequired",
              "badGateway"
            ]
          },
          "domain": {
            "description": "Logical grouping to which the \"reason\" belongs\n",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/ExceptionMetadata"
          }
        }
      },
      "BadRequestExceptionDetail": {
        "properties": {
          "type": {
            "description": "A string enum describing the type of detail object.",
            "type": "string",
            "enum": [
              "badRequest"
            ]
          },
          "argumentViolations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArgumentViolation"
            }
          }
        }
      },
      "ArgumentViolation": {
        "properties": {
          "argumentName": {
            "type": "string",
            "description": "Name of the argument"
          },
          "description": {
            "type": "string",
            "description": "Description of the violation"
          }
        }
      },
      "ResourceInfoExceptionDetail": {
        "properties": {
          "type": {
            "description": "A string enum describing the type of detail object.",
            "type": "string",
            "enum": [
              "resourceInfo"
            ]
          },
          "resource": {
            "description": "Referenced resource type, eg \"cameras\", \"bridges\", or \"locations\".",
            "type": "string"
          },
          "ids": {
            "type": "array",
            "description": "Identities of resources",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ExceptionMetadata": {
        "properties": {
          "path": {
            "description": "Path of the request",
            "type": "string"
          },
          "method": {
            "description": "Method of the request",
            "type": "string"
          }
        }
      },
      "CameraSettingsSchema": {
        "type": "object",
        "readOnly": true,
        "description": "Json schema of version draft 4.",
        "example": {
          "$schema": "http://json-schema.org/draft-04/schema#",
          "type": "object",
          "properties": {
            "retention": {
              "type": "object",
              "properties": {
                "cloudDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1825
                }
              }
            },
            "audio": {
              "type": "object",
              "properties": {
                "microphoneEnabled": {
                  "type": "boolean"
                },
                "inputSourceId": {
                  "type": "string"
                }
              }
            },
            "previewVideo": {
              "type": "object",
              "properties": {
                "transmitMode": {
                  "type": "string",
                  "enum": [
                    "onDemand",
                    "always",
                    "background",
                    "event"
                  ]
                },
                "resolution": {
                  "type": "string",
                  "enum": [
                    "cif",
                    "std"
                  ]
                },
                "intervalMs": {
                  "type": "integer",
                  "minimum": 250,
                  "maximum": 16000
                },
                "quality": {
                  "type": "string",
                  "enum": [
                    "low",
                    "med"
                  ]
                }
              }
            },
            "mainVideo": {
              "type": "object",
              "properties": {
                "transmitMode": {
                  "type": "string",
                  "enum": [
                    "onDemand",
                    "always",
                    "background",
                    "event"
                  ]
                },
                "resolution": {
                  "type": "string",
                  "enum": [
                    "cif",
                    "std",
                    "high",
                    "1080P"
                  ]
                },
                "kbpsFactor": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 4
                },
                "quality": {
                  "type": "string",
                  "enum": [
                    "low",
                    "med",
                    "high"
                  ]
                },
                "captureMode": {
                  "type": "string",
                  "enum": [
                    "event",
                    "always"
                  ]
                }
              }
            },
            "talkdown": {
              "type": "object",
              "properties": {
                "protocol": {
                  "type": "string",
                  "enum": [
                    "sip",
                    "onvif"
                  ]
                },
                "audioMode": {
                  "type": "string",
                  "enum": [
                    "disabled",
                    "talkDown",
                    "twoWayAudio"
                  ]
                },
                "sipCredentials": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "type": "string"
                    },
                    "password": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "imaging": {
              "type": "object",
              "description": "Only properties supported by this camera appear here. Ranges and enum values may be a subset of those in the Imaging schema definition.\n",
              "properties": {
                "brightness": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "contrast": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "irCutFilter": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "on",
                    "off"
                  ]
                },
                "rotation": {
                  "type": "string",
                  "enum": [
                    "0",
                    "180"
                  ]
                },
                "exposureTime": {
                  "type": "string",
                  "enum": [
                    "1/50",
                    "1/100",
                    "1/250",
                    "1/500",
                    "1/1000",
                    "1/2000",
                    "1/4000"
                  ]
                }
              }
            }
          }
        }
      },
      "CameraSettings": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Settings"
          },
          "schema": {
            "$ref": "#/components/schemas/CameraSettingsSchema"
          },
          "proposedValues": {
            "$ref": "#/components/schemas/CameraSettingProposedValues"
          }
        },
        "required": [
          "data"
        ]
      },
      "Settings": {
        "type": "object",
        "properties": {
          "timeZone": {
            "$ref": "#/components/schemas/TimeZoneString"
          },
          "rtsp": {
            "$ref": "#/components/schemas/RtspConnectionSettings"
          },
          "credentials": {
            "$ref": "#/components/schemas/ApiDeviceCredentials"
          },
          "retention": {
            "$ref": "#/components/schemas/Retention"
          },
          "audio": {
            "$ref": "#/components/schemas/Audio"
          },
          "previewVideo": {
            "$ref": "#/components/schemas/PreviewVideo"
          },
          "mainVideo": {
            "$ref": "#/components/schemas/MainVideo"
          },
          "analog": {
            "$ref": "#/components/schemas/Analog1"
          },
          "operatingSettings": {
            "$ref": "#/components/schemas/OperatingSettings"
          },
          "talkdown": {
            "$ref": "#/components/schemas/TalkdownSettings"
          },
          "imaging": {
            "$ref": "#/components/schemas/Imaging"
          }
        }
      },
      "PreviewVideo": {
        "type": "object",
        "properties": {
          "transmitMode": {
            "type": "string",
            "enum": [
              "onDemand",
              "always",
              "background",
              "event"
            ],
            "description": "Controls when the preview video is sent to the cloud data center.  The recommended mode is Always. Always means that the Preview Video is immediately sent to the cloud, but it can be limited by the bridge bandwidth. On Demand means that the Preview Video is only sent to the cloud when it is being displayed in the VMS. Event means that the Preview Video is only sent to the cloud when an event occurs on the recording. Background means that the Preview Video is only sent when bandwidth is available on the schedule for the bridge. Options 'background' and 'event' could lead to a bad user experience and because of this are not presented on the main VMS UI.\n"
          },
          "resolution": {
            "type": "string",
            "example": "std",
            "description": "Resolution of the preview video that will be recorded. Possible values can be found in the `supportedResolutions` field."
          },
          "intervalMs": {
            "type": "integer",
            "description": "Specifies the time interval in milliseconds between frames for the preview video. 1000ms is recommended. Lowering the value increases bandwidth usage.\n",
            "example": 250,
            "minimum": 250,
            "maximum": 16000
          },
          "quality": {
            "type": "string",
            "example": "low",
            "description": "Controls the amount of compression on the preview video. Default quality will reduce bandwidth the most. Use extreme caution when increasing it,  as exceeding available bandwidth can prevent all video from being transmitted to the cloud. Possible values can be found in the `supportedResolutions` field.\n"
          },
          "supportedResolutions": {
            "$ref": "#/components/schemas/PreviewResolutions"
          }
        }
      },
      "PreviewResolutions": {
        "readOnly": true,
        "type": "object",
        "description": "Read-only listing of resolutions and quality settings supported by the camera.",
        "additionalProperties": {
          "$ref": "#/components/schemas/PreviewResolutionsItem"
        },
        "example": {
          "std": {
            "width": 640,
            "height": 360,
            "qualities": {
              "low": {
                "kbps": 256
              },
              "med": {
                "kbps": 320
              }
            }
          }
        }
      },
      "PreviewResolutionsItem": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "example": 640
          },
          "height": {
            "type": "integer",
            "example": 360
          },
          "qualities": {
            "$ref": "#/components/schemas/PreviewResolutionQualities"
          }
        }
      },
      "PreviewResolutionQualities": {
        "type": "object",
        "description": "Specification for qualities supported by the camera.",
        "additionalProperties": {
          "$ref": "#/components/schemas/PreviewQualitiesItem"
        }
      },
      "PreviewQualitiesItem": {
        "type": "object",
        "properties": {
          "kbps": {
            "type": "integer",
            "description": "Measurement of how much video data exists per second of video footage shown as Kilobits per second.",
            "example": 256
          }
        }
      },
      "MainVideoResolutions": {
        "readOnly": true,
        "type": "object",
        "description": "Read-only listing of resolutions and quality settings supported by the camera.",
        "additionalProperties": {
          "$ref": "#/components/schemas/MainVideoResolutionsItem"
        },
        "example": {
          "4MP": {
            "width": 2592,
            "height": 1520,
            "qualities": {
              "low": {
                "kbps": 1200,
                "fps": 12
              },
              "med": {
                "kbps": 1400,
                "fps": 10
              }
            }
          }
        }
      },
      "MainVideoResolutionsItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PreviewResolutionsItem"
          }
        ],
        "properties": {
          "qualities": {
            "$ref": "#/components/schemas/MainVideoResolutionQualities"
          }
        }
      },
      "MainVideoResolutionQualities": {
        "type": "object",
        "description": "Specification for qualities supported by the camera.",
        "additionalProperties": {
          "$ref": "#/components/schemas/MainVideoQualitiesItem"
        }
      },
      "MainVideoQualitiesItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PreviewQualitiesItem"
          }
        ],
        "properties": {
          "fps": {
            "type": "integer",
            "example": 30,
            "description": "Frames per second for the video."
          }
        }
      },
      "MainVideo": {
        "type": "object",
        "properties": {
          "transmitMode": {
            "type": "string",
            "enum": [
              "onDemand",
              "background",
              "event",
              "always"
            ],
            "description": "Controls when the Main Video is sent to the cloud data center. The recommended value is Background. Always means that the video is immediately sent to the cloud, but it can be limited by the bridge bandwidth.  This can affect available bandwidth for the business. Background means that the video is only sent when bandwidth is available on the schedule for the bridge. On Demand means that the video is only sent to the cloud when it is being displayed in the VMS. Event means that the video is only sent to the cloud when an event occurs on the recording. Options 'always' and 'event' could lead to a bad user experience and because of this are not presented on the main VMS UI.\n"
          },
          "resolution": {
            "type": "string",
            "example": "3MP",
            "description": "Resolution that will be used for full frame rate H.264 recording. Possible values can be found in the `supportedResolutions` field.\n"
          },
          "quality": {
            "type": "string",
            "example": "high",
            "description": "Controls the compression rate and the frame rate on the H.264 recording. We recommend Low or Medium.  Make certain you have adequate bandwidth before changing the setting higher than Low.  Misconfiguration can prevent all video from being transmitted to the cloud.  Possible values can be found in the `supportedResolutions` field.\n"
          },
          "kbpsFactor": {
            "type": "integer",
            "example": 1,
            "description": "It refers to how the camera can process the image it's recording. It also controls the compression rate of the video recording. The setting depends greatly on the camera. We recommend leaving this at its default value.\n"
          },
          "captureMode": {
            "type": "string",
            "enum": [
              "event",
              "always"
            ],
            "description": "Configures when the Main Video is recorded.  By default, recording is only done when there is an event detected.  This is usually when motion or an analytic event is detected. However, you can choose Always to record Main Video continuously.  Use extreme caution if setting to Always, as this can use a large amount of bandwidth,  which could prevent some video from being transmitted to the cloud or result in early deletion due to filled up on-premise storage.  Make certain there is enough upload bandwidth if using this setting.\n"
          },
          "supportedResolutions": {
            "$ref": "#/components/schemas/MainVideoResolutions"
          }
        }
      },
      "Audio": {
        "type": "object",
        "properties": {
          "microphoneEnabled": {
            "type": "boolean",
            "description": "Enables audio recording.  Only one audio source can be active at the time.  The microphone cannot be enabled if the audio is copied from another camera, which means `inputSourceId` should be set to null before enabling the microphone.\n"
          },
          "inputSourceId": {
            "type": "string",
            "nullable": true,
            "description": "Audio is copied from the camera with the given ID.  The source camera needs to be attached to the same bridge to copy audio from it. Copying the audio stream from another camera is not possible if the microphone is enabled for this camera.\n"
          }
        }
      },
      "Retention": {
        "type": "object",
        "properties": {
          "cloudDays": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of days that recorded video will be kept in the cloud."
          },
          "cloudPreviewOnly": {
            "type": "boolean",
            "description": "Allows previews to be transmitted to cloud while keeping full video locally on the CMVR. This setting is only available for cameras attached to a CMVR.\n"
          },
          "minimumOnPremiseDays": {
            "minimum": 0,
            "type": "integer",
            "description": "The number of days that recorded video will be kept on premise. The minimum on premise retention should be less than the maximum on premise retention. If the CMVR runs out of disk space it will delete old video to make room for the new —  even if it must delete video within this retention period.  If the local CMVR hard drive fills before the Minimum On Premise Retention is  met, it will be displayed in camera metrics under delta storage  as well as bridge metrics under delta storage as a purge. Recordings won't be stored on premise if this setting will be set to 0. This setting is only available for cameras attached to a CMVR.\n"
          },
          "maximumOnPremiseDays": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5,
            "description": "The maximum on premise retention should be greater than the minimum on premise retention. Video will be kept on the CMVR for as long as possible up to the maximum,  then it is deleted to make room for new video.  There is no notification or graphical display of purge for the Maximum On Premise Retention. Setting this value to 0 will remove limit for maximum retention. This setting is only available for cameras attached to a CMVR.\n"
          },
          "alwaysRecordingDays": {
            "type": "integer",
            "minimum": 0,
            "description": "This setting is only available if `captureMode` is set to record `always`; If this setting is set to 0 then it means that it is disabled and recordings are stored based on retention settings. It sets how many days the video is kept. After “x” days, the recordings without motion or events will be purged. Recordings with motion or events will be kept for the set retention time.\n"
          }
        }
      },
      "Analog1": {
        "type": "object",
        "properties": {
          "videoStandard": {
            "type": "string",
            "enum": [
              "auto",
              "ntsc",
              "pal"
            ],
            "description": "The 'auto' option will automatically choose the proper standard for a camera."
          },
          "badSignalProtection": {
            "type": "boolean",
            "description": "Certain bad analog signals can affect all analog cameras to the same device. If set to true, the other cameras are protected against this by disabling the camera altogether when signals with this effect are detected.\n"
          },
          "badSignalDetected": {
            "type": "boolean",
            "description": "This value is set to true to indicate the camera was disabled due to bad analog signals. Set this value to false to enable the camera again, resetting the bad signal detection.\n"
          }
        }
      },
      "On": {
        "type": "boolean",
        "description": "If off, all functionality of the camera will be disabled.  This means that no recordings will be made, live streaming is not possible,  and features like PTZ and talkdown are disabled. If on, the camera will behave normally.\n"
      },
      "OperatingSettings": {
        "type": "object",
        "properties": {
          "on": {
            "$ref": "#/components/schemas/On"
          },
          "scheduledOverride": {
            "$ref": "#/components/schemas/ScheduledOverride"
          }
        }
      },
      "ScheduledOverride": {
        "type": "object",
        "required": [
          "on",
          "schedule"
        ],
        "nullable": true,
        "description": "Defines a scheduled override to the operating settings,  allowing the user to for example turn a camera off during specified hours of the day.\n",
        "properties": {
          "on": {
            "$ref": "#/components/schemas/On"
          },
          "schedule": {
            "$ref": "#/components/schemas/WeeklyScheduleAllRequired"
          }
        }
      },
      "Imaging": {
        "type": "object",
        "description": "Camera imaging sensor settings. Not all properties are supported by every camera. Only properties supported by the specific camera will appear in the response. Use `?include=schema` to discover which properties a camera supports and their allowed values. The schema endpoint returns camera-specific ranges and enum values that may be a subset of what is documented here.\n",
        "properties": {
          "brightness": {
            "type": "number",
            "format": "double",
            "description": "Overall luminance level of the captured image. Higher values produce a brighter image; lower values produce a darker image. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "contrast": {
            "type": "number",
            "format": "double",
            "description": "Difference in luminance between shadows and highlights. Higher values increase separation between dark and light areas. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "saturation": {
            "type": "number",
            "format": "double",
            "description": "Intensity of colors. Lower values shift toward grayscale; higher values produce more vivid colors. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "sharpness": {
            "type": "number",
            "format": "double",
            "description": "Edge enhancement applied to the image. Higher values increase definition of fine detail but may introduce artifacts at extremes. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "exposureMaxGain": {
            "type": "number",
            "format": "double",
            "description": "Maximum gain ceiling for auto-exposure. Limits how much electronic amplification the camera applies in low light. Lower values reduce noise at the cost of darker images; higher values allow brighter images but with more noise. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "irCutFilter": {
            "type": "string",
            "description": "Infrared cut filter mode. `on` blocks infrared for accurate daytime color; `off` allows infrared through for improved low-light sensitivity; `auto` switches based on scene conditions. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "on",
              "off"
            ]
          },
          "wideDynamicRange": {
            "type": "string",
            "description": "Wide dynamic range mode. Captures detail in both very bright and very dark areas of the same scene simultaneously. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "on",
              "off"
            ]
          },
          "wideDynamicRangeLevel": {
            "type": "number",
            "format": "double",
            "description": "Strength of WDR processing. Only effective when wideDynamicRange is on. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "whiteBalanceMode": {
            "type": "string",
            "description": "White balance mode. `auto` tracks and adjusts to changing light conditions. `manual` holds a fixed color point using the gain values in whiteBalanceRedGain and whiteBalanceBlueGain. `rbgain` is a camera-specific mode that enables direct R/B gain ratio control; use the schema endpoint to check if available. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "manual",
              "rbgain"
            ]
          },
          "whiteBalanceRedGain": {
            "type": "number",
            "format": "double",
            "description": "Red channel gain. Active when whiteBalanceMode is manual or rbgain. Increasing this value warms the image. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "whiteBalanceBlueGain": {
            "type": "number",
            "format": "double",
            "description": "Blue channel gain. Active when whiteBalanceMode is manual or rbgain. Increasing this value cools the image. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "exposureMode": {
            "type": "string",
            "description": "Exposure control mode. `auto` lets the camera determine exposure; `manual` uses the shutter speed set in exposureTime. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "manual"
            ]
          },
          "exposureTime": {
            "type": "string",
            "description": "Shutter speed as a fraction string (e.g. 1/1000). Only effective when exposureMode is manual. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "example": "1/1000"
          },
          "rotation": {
            "type": "string",
            "description": "Image rotation in degrees applied clockwise. Use when the camera is physically mounted at an angle. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "0",
              "90",
              "180",
              "270"
            ]
          },
          "mirror": {
            "type": "string",
            "description": "Flips the image horizontally, producing a left-right mirror image. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "on",
              "off"
            ]
          },
          "flip": {
            "type": "string",
            "description": "Flips the image vertically. Use when the camera is mounted upside down. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "on",
              "off"
            ]
          },
          "backlightCompensation": {
            "type": "string",
            "description": "Backlight compensation mode. Adjusts exposure to prevent subjects in front of a bright background from appearing as silhouettes. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "on",
              "off"
            ]
          },
          "noiseReductionLevel": {
            "type": "number",
            "format": "double",
            "description": "Strength of digital noise reduction. Higher values produce a cleaner image in low light but may soften fine detail or introduce motion artifacts. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "defoggingMode": {
            "type": "string",
            "description": "Electronic defogging mode. Enhances contrast and visibility in scenes obscured by fog, haze, or smoke. `auto` applies defogging as needed; `on` enables it continuously; `off` disables it. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "on",
              "off"
            ]
          },
          "defoggingLevel": {
            "type": "number",
            "format": "double",
            "description": "Strength of defogging processing. Only effective when defoggingMode is on. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": 0,
            "maximum": 100,
            "example": 50
          },
          "dayNightMode": {
            "type": "string",
            "description": "Day/night switching mode. `day` forces color output; `night` forces monochrome for maximum low-light sensitivity; `auto` switches based on scene brightness. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "day",
              "night"
            ]
          },
          "dayNightSensitivityDayToNight": {
            "type": "string",
            "description": "How readily the camera transitions from color to monochrome as light falls. `low` requires a larger drop before switching; `medium` switches at a moderate threshold; `high` switches earlier. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "dayNightSensitivityNightToDay": {
            "type": "string",
            "description": "How readily the camera transitions from monochrome back to color as light rises. `low` requires a larger increase before switching; `medium` switches at a moderate threshold; `high` switches earlier. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "focusMode": {
            "type": "string",
            "description": "Focus control mode. `auto` continuously adjusts focus based on scene content; `manual` holds the current focus position. Not all values are supported by every camera. Use `?include=schema` to discover the values supported by a specific camera.\n",
            "enum": [
              "auto",
              "manual"
            ]
          },
          "focusDefaultSpeed": {
            "type": "number",
            "format": "double",
            "description": "Default speed used for focus motor movements when no explicit speed is provided with a focus command. Higher values produce faster lens movement. The value is a magnitude, not a direction. Only effective when focusMode is manual. Not all cameras support this property. Use `?include=schema` to confirm availability and the valid range for a specific camera.\n",
            "minimum": -1,
            "maximum": 1,
            "example": 0.5
          }
        }
      },
      "CameraSettingProposedValues": {
        "description": "Lists of proposed values to be displayed to users for each property. Although users can choose any number of days, this subset keeps the list manageable and agrees with any billing thresholds.",
        "type": "object",
        "readOnly": true,
        "properties": {
          "retention": {
            "type": "object",
            "properties": {
              "cloudDays": {
                "description": "Proposed set of cloud retention days that the user could chose between.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  1,
                  2,
                  3,
                  5,
                  7,
                  14,
                  28,
                  30,
                  31,
                  60,
                  90,
                  180,
                  365,
                  730,
                  1095,
                  1825
                ]
              },
              "cloudPreviewOnlyDays": {
                "description": "Proposed set of cloud retention days that the user could choose between if they choose to keep only preview videos in the cloud. This list should replace cloudDays if cloudPreviewOnly property is set to true.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  1,
                  2,
                  3,
                  5,
                  7,
                  14,
                  28,
                  30,
                  31,
                  60,
                  90,
                  180
                ]
              },
              "minimumOnPremiseDays": {
                "description": "Proposed set of minimum on-premise retention days the user could choose between. \nKeep in mind that the minimum on-premise retention days value should be less than the maximum on-premise retention days value.\n",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  0,
                  1,
                  2,
                  3,
                  5,
                  7,
                  14,
                  28,
                  30,
                  31,
                  60,
                  90,
                  180
                ]
              },
              "maximumOnPremiseDays": {
                "description": "Proposed set maximum on-premise retention days the user could choose between.\nKeep in mind that the minimum on-premise retention days value should be less than the maximum on-premise retention days value.\n",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  0,
                  1,
                  2,
                  3,
                  5,
                  7,
                  14,
                  28,
                  30,
                  31,
                  60,
                  90,
                  180,
                  365
                ]
              }
            }
          }
        }
      },
      "TalkdownSettings": {
        "type": "object",
        "properties": {
          "protocol": {
            "type": "string",
            "description": "Specifies the audio communication protocol.",
            "example": "sip"
          },
          "audioMode": {
            "type": "string",
            "description": "Specifies mode of audio communication.",
            "enum": [
              "disabled",
              "talkDown",
              "twoWayAudio"
            ]
          },
          "sipCredentials": {
            "allOf": [
              {
                "description": "The credentials that will be used to authenticate SIP sessions.\n"
              },
              {
                "$ref": "#/components/schemas/ApiDeviceCredentials"
              }
            ]
          }
        }
      },
      "WeeklyScheduleAllRequired": {
        "type": "object",
        "properties": {
          "days": {
            "$ref": "#/components/schemas/WeeklyScheduleDaysAllRequired"
          },
          "hours": {
            "$ref": "#/components/schemas/WeeklyScheduleHours"
          }
        },
        "required": [
          "days",
          "hours"
        ]
      },
      "WeeklyScheduleDays": {
        "type": "object",
        "description": "Days of the week that the start and end times are applied.",
        "properties": {
          "sunday": {
            "type": "boolean"
          },
          "monday": {
            "type": "boolean"
          },
          "tuesday": {
            "type": "boolean"
          },
          "wednesday": {
            "type": "boolean"
          },
          "thursday": {
            "type": "boolean"
          },
          "friday": {
            "type": "boolean"
          },
          "saturday": {
            "type": "boolean"
          }
        }
      },
      "WeeklyScheduleDaysAllRequired": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WeeklyScheduleDays"
          }
        ],
        "required": [
          "monday",
          "tuesday",
          "wednesday",
          "thursday",
          "friday",
          "saturday",
          "sunday"
        ]
      },
      "WeeklyScheduleHours": {
        "type": "object",
        "description": "Times that the schedule starts and ends. If the start time is greater than the end time, the interval is considered to cover the remaining time of the day from the start time until 24:00, and then from 00:00 to the end time. \nFor example, start: 16:30 and end: 06:00 on monday means the interval covers from 16:30 to 24:00 and continues from 00:00 to 06:00 on the same day (monday).\n",
        "properties": {
          "start": {
            "type": "string",
            "pattern": "^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
            "description": "Starting point of the interval. It should be in the range of 00:00 to 23:59 since this is the range for a day.",
            "minLength": 5,
            "maxLength": 5
          },
          "end": {
            "type": "string",
            "pattern": "^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
            "description": "End point of the interval. It should be in the range of 00:00 to 23:59 since this is the range for the day.",
            "minLength": 5,
            "maxLength": 5
          }
        },
        "required": [
          "start",
          "end"
        ]
      }
    },
    "parameters": {
      "cameraId": {
        "in": "path",
        "name": "cameraId",
        "schema": {
          "type": "string"
        },
        "required": true
      }
    },
    "responses": {
      "validationError": {
        "description": "The supplied object is invalid. Error detail will contain the validation error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiV3Error"
            },
            "examples": {
              "unexpectedArgument": {
                "value": {
                  "code": 400,
                  "status": "invalidArgument",
                  "message": "Unexpected argument: name",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "unexpectedArgument",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    }
                  ]
                }
              },
              "missingRequiredArgument": {
                "value": {
                  "code": 400,
                  "status": "invalidArgument",
                  "message": "Missing required arguments: name, id",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "missingRequiredArgument",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    }
                  ]
                }
              },
              "badRequestInvalidJSON": {
                "value": {
                  "code": 400,
                  "status": "invalidArgument",
                  "message": "Invalid JSON",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "invalidJSON",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    }
                  ]
                }
              },
              "badRequestInvalidArgument": {
                "value": {
                  "code": 400,
                  "status": "invalidArgument",
                  "message": "Invalid Argument: Argument name is too long",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "wrongArgumentValue",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    },
                    {
                      "type": "badRequest",
                      "argumentViolations": [
                        {
                          "argumentName": "name",
                          "description": "Name is too long"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "unauthorized": {
        "description": "You are not authenticated. Please authenticate and try again.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiV3Error"
            },
            "example": {
              "code": 401,
              "status": "unauthenticated",
              "message": "The client caller does not have a valid authentication credential",
              "details": [
                {
                  "type": "errorInfo",
                  "reason": "unauthenticated",
                  "domain": "apiv3",
                  "metadata": {
                    "path": "/api/v3.0/<resource>"
                  }
                }
              ]
            }
          }
        }
      },
      "forbidden": {
        "description": "You have no permission to access the specified resource.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiV3Error"
            },
            "examples": {
              "invalidPermission": {
                "value": {
                  "code": 403,
                  "status": "permissionDenied",
                  "message": "The client caller does not have permission for the specified operation",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "invalidPermission",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    }
                  ]
                }
              },
              "wrongEdition": {
                "value": {
                  "code": 403,
                  "status": "permissionDenied",
                  "message": "This feature is not enabled for the account",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "wrongEdition",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/locations"
                      }
                    }
                  ]
                }
              },
              "wrongAccountType": {
                "value": {
                  "code": 403,
                  "status": "permissionDenied",
                  "message": "This feature is only available for end users",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "wrongAccountType",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/locations"
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "resourceNotFound": {
        "description": "Referenced resource could not be found.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiV3Error"
            },
            "examples": {
              "endpointNotFound": {
                "value": {
                  "code": 404,
                  "status": "notFound",
                  "message": "The API endpoint was not found",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "endpointNotFound",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    }
                  ]
                }
              },
              "resourceNotFound": {
                "value": {
                  "code": 404,
                  "status": "notFound",
                  "message": "The resource was not found",
                  "details": [
                    {
                      "type": "errorInfo",
                      "reason": "resourceNotFound",
                      "domain": "apiv3",
                      "metadata": {
                        "path": "/api/v3.0/<resource>"
                      }
                    },
                    {
                      "type": "resourceInfo",
                      "resource": "<resource>",
                      "ids": [
                        "<ids>"
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "internalServerError": {
        "description": "Something went wrong in the server. Please try again.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiV3Error"
            },
            "example": {
              "code": 500,
              "status": "internal",
              "message": "An internal error has occurred. Please try again later.",
              "details": [
                {
                  "type": "errorInfo",
                  "reason": "unexpectedError",
                  "domain": "apiv3",
                  "metadata": {
                    "path": "/api/v3.0/<resource>"
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true
  }
}
```