town.muni.arbiter.setSpaceConfig

Configure a space on the arbiter.

Repository @zicklag.dev did:plc:ulg2bzgrgs7ddjjlmhtegk3v namespace authority
Details · procedure
Kindprocedure
Authorityarbiter.muni.town
Indexed

Showing version bafyreibqalacm2hgsr6mganzurktapnns34zybnv76boxz3op7nqan4dmm. Show the latest

cid bafyreibqalacm2hgsr6mganzurktapnns34zybnv76boxz3op7nqan4dmm

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.spaceKeyNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Configure a space on the arbiter.",
      "errors": [
        {
          "description": "The specified arbiter does not exist on this server.",
          "name": "ErrArbiterNotExists"
        },
        {
          "description": "The specified space does not exist on this arbiter.",
          "name": "ErrSpaceNotExists"
        },
        {
          "description": "The requesting user is not allowed to make the request.",
          "name": "ErrPermissionDenied"
        },
        {
          "description": "The config was changed by another request during the execution of this request.\n\nThe action should be retried if still applicable.",
          "name": "ErrRaceCondition"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "arbiterDid": {
              "description": "The DID of the arbiter that the space is in.",
              "format": "did",
              "type": "string"
            },
            "config": {
              "description": "The new space configuration.",
              "refs": [],
              "type": "union"
            },
            "resolverDepth": {
              "description": "The maximum depth to allow when doing remote resolutions needed to evaluate the\naccess of the requesting user.",
              "minimum": 0,
              "type": "integer"
            },
            "spaceKey": {
              "description": "The key of the space to configure.",
              "type": "string"
            },
            "spaceType": {
              "description": "The new type of the space.",
              "format": "nsid",
              "type": "string"
            }
          },
          "required": [
            "arbiterDid",
            "spaceKey",
            "spaceType",
            "config"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.muni.arbiter.setSpaceConfig",
  "lexicon": 1
}