social.grain.unspecced.addSpaceMember
Share an existing private gallery with another account. Adds them to the space's member list on the author's PDS, which is what the authority consults when it mints a credential.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | unspecced.grain.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.actorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.spaceNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Share an existing private gallery with another account. Adds them to the space's member list on the author's PDS, which is what the authority consults when it mints a credential.",
"errors": [
{
"description": "Only the gallery's author may add members.",
"name": "NotAuthorized"
},
{
"description": "The handle could not be resolved.",
"name": "ActorNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"actor": {
"description": "Handle or DID of the account to share with.",
"type": "string"
},
"space": {
"type": "string"
}
},
"required": [
"space",
"actor"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.grain.unspecced.addSpaceMember",
"lexicon": 1
}