social.colibri.beta.voice.moderate

Acts on someone in a voice channel. An absent field leaves the current value unchanged.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authorityvoice.beta.colibri.social
Indexed

Showing version bafyreig42ldpnzdmvca257eytzcl2b6leffqbf53msqvc5ihtayygiv3gq. Show the latest

cid bafyreig42ldpnzdmvca257eytzcl2b6leffqbf53msqvc5ihtayygiv3gq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Acts on someone in a voice channel. An absent field leaves the current value unchanged.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The requesting user lacks the voice.moderate permission.",
          "name": "Forbidden"
        },
        {
          "description": "No channel matches the given space reference.",
          "name": "ChannelNotFound"
        },
        {
          "description": "The subject is not currently connected to the channel.",
          "name": "NotInVoice"
        },
        {
          "description": "The moveTo channel is not a voice channel in the same space.",
          "name": "NotVoiceChannel"
        },
        {
          "description": "The subject cannot speak in the moveTo channel.",
          "name": "DestinationForbidden"
        },
        {
          "description": "This AppView has no voice SFU running.",
          "name": "VoiceUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "channel": {
              "description": "The voice channel the subject is in.",
              "format": "space-ref",
              "type": "string"
            },
            "deafened": {
              "description": "Whether the subject cannot hear others. Absent leaves the current value unchanged.",
              "type": "boolean"
            },
            "disconnect": {
              "description": "Whether to disconnect the subject from the channel.",
              "type": "boolean"
            },
            "moveTo": {
              "description": "The voice channel to move the subject to. It must be in the same space as the channel.",
              "format": "space-ref",
              "type": "string"
            },
            "muted": {
              "description": "Whether the subject's microphone is muted. Absent leaves the current value unchanged.",
              "type": "boolean"
            },
            "subject": {
              "description": "Who to act on.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "channel",
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.beta.voice.moderate",
  "lexicon": 1
}