dev.cartridge.claims.setupAdmin

Bootstrap the claims admin space or add a member to it. Creates the admin space on first call; subsequent calls can add new admin DIDs.

Repository @cartridge.dev did:plc:4mrwcmxk266itsdn33leqljq namespace authority
Details · procedure
Kindprocedure
Authorityclaims.cartridge.dev
Indexed
cid bafyreiey3inumjc3clmyglj36xnedbwgjyynliuew3p7bjhhl5aqqccpjm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Bootstrap the claims admin space or add a member to it. Creates the admin space on first call; subsequent calls can add new admin DIDs.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "adminDid": {
              "description": "DID to add as admin. Omit on first call to just create the space.",
              "format": "did",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "created": {
              "description": "True if the admin space was created by this call",
              "type": "boolean"
            },
            "memberAdded": {
              "description": "True if adminDid was added as a member",
              "type": "boolean"
            },
            "spaceUri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "spaceUri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "dev.cartridge.claims.setupAdmin",
  "lexicon": 1
}