rsvp.atmo.space.invite.redeem
Redeem an invite token. The JWT issuer becomes a member of the space with the invite's perms.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | invite.space.atmo.rsvp |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.permsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Redeem an invite token. The JWT issuer becomes a member of the space with the invite's perms.",
"errors": [
{
"name": "InvalidInvite"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"perms": {
"knownValues": [
"read",
"write"
],
"type": "string"
},
"spaceUri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"spaceUri",
"perms"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rsvp.atmo.space.invite.redeem",
"lexicon": 1
}