Speakers

PATCH /speakers/{speakerId}/settings

Updates the settings of a speaker.

Request

  • Base URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0
  • URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0/speakers/{speakerId}/settings
  • Auth
    HTTP bearer

Request body

schemaAdvancedSettingsSchema

Json schema of version draft 4.

Example request

{
  "data": {
    "protocol": "sip"
  },
  "schema": {
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
      "protocol": {
        "type": "string",
        "enum": [
          "sip",
          "onvif"
        ]
      },
      "audioMode": {
        "type": "string",
        "enum": [
          "disabled",
          "talkDown",
          "twoWayAudio"
        ]
      },
      "mainCredentials": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        }
      },
      "sipCredentials": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        }
      }
    }
  }
}

Response

Speaker Updated

Changes

No recorded changes to this operation across all 2 revisions of this API.