ai.newnal.illi.home.join
Join a home with an invite token as a member (no approval step).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | home.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.roleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Join a home with an invite token as a member (no approval step).",
"errors": [
{
"name": "InvalidInvite"
},
{
"name": "InviteExpired"
},
{
"name": "InviteUsedUp"
},
{
"name": "AlreadyMember"
},
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"displayName": {
"maxLength": 64,
"type": "string"
},
"photo": {
"accept": [
"image/*"
],
"maxSize": 5000000,
"type": "blob"
},
"relationship": {
"maxLength": 32,
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"token",
"displayName",
"relationship"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"homeId": {
"format": "tid",
"type": "string"
},
"role": {
"knownValues": [
"member"
],
"type": "string"
}
},
"required": [
"homeId",
"role"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.home.join",
"lexicon": 1
}