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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | claims.cartridge.dev |
| Indexed |
Checks
Valid Lint pass{
"$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
}