link.jetbridge.setAdmission

Set who may open a tunnel on the Provider.

Repository @jetbridge.link did:web:jetbridge.link namespace authority
Details · procedure
Kindprocedure
Authorityjetbridge.link
Commit rev3n2rhevopik22
Indexed
cid bafyreiedorgl3o3w5xvqv7ayfqauokh3z6ag4kxtvafja3hp7tzxb3zbve

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set who may open a tunnel on the Provider.",
      "errors": [
        {
          "description": "The Provider has no operator.",
          "name": "OperatorNotSet"
        },
        {
          "description": "The caller is not the Provider's operator.",
          "name": "NotOperator"
        },
        {
          "description": "The Provider can't make this change itself. Its operator must make it by hand.",
          "name": "UneditableConfig"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "mode": {
              "description": "The new admission mode, as in the Provider's record.",
              "knownValues": [
                "open",
                "approval",
                "closed"
              ],
              "maxLength": 32,
              "type": "string"
            }
          },
          "required": [
            "mode"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "changed": {
              "description": "Whether this changed anything: false when the Provider already had this mode.",
              "type": "boolean"
            }
          },
          "required": [
            "changed"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "link.jetbridge.setAdmission",
  "lexicon": 1
}