v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Speakers

Updates the settings of a speaker.

patch/speakers/{speakerId}/settings

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