town.muni.arbiter.setArbiterConfig

Set the config object for an arbiter.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set the config object for an arbiter.",
      "errors": [
        {
          "description": "The requesting user is not allowed to make the request.",
          "name": "ErrPermissionDenied"
        },
        {
          "description": "The config provided is invalid for some reason other than it being an unsupported\nlexicon.",
          "name": "ErrInvalidConfig"
        },
        {
          "description": "The config lexicon provided is not supported by this server. Different servers\nmay support different config lexicons.",
          "name": "ErrUnsupportedConfigLexicon"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "arbiterDid": {
              "description": "The DID of the arbiter to set the config for.",
              "format": "did",
              "type": "string"
            },
            "config": {
              "description": "The config object.\n\nDifferent server's will support different config NSIDs, and most-likely servers\nwill not allow you to change the NSID after creation, even if they support\nupdating the config.",
              "refs": [],
              "type": "union"
            },
            "resolverDepth": {
              "description": "The maximum depth to allow when doing remote resolutions.\n\nBecause spaces are allowed to have members resolved from remote spaces,\nall of the arbiter endpoints have an optional resolution depth parameter\nthat can be used to limit how many chained remote calls can be resolved.\n\nThis applies both to queries and procedures. Queries may need to resolve\nexternal members to complete the member list, and procedures may need\nto resolve external members if the requesting member is not in the local\nmember list, to see if the member has access through a remote list.",
              "type": "integer"
            }
          },
          "required": [
            "arbiterDid",
            "config"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "refs": [],
          "type": "union"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.muni.arbiter.setArbiterConfig",
  "lexicon": 1
}