ai.newnal.illi.home.createInvite
Create an invite link (root admin). The token is shown once and delivered by hand.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | home.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.inviteIdNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create an invite link (root admin). The token is shown once and delivered by hand.",
"errors": [
{
"name": "NotRootAdmin"
},
{
"name": "HomeNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"expiresInDays": {
"default": 7,
"maximum": 30,
"minimum": 1,
"type": "integer"
},
"homeId": {
"format": "tid",
"type": "string"
},
"maxUses": {
"default": 1,
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"note": {
"maxLength": 120,
"type": "string"
}
},
"required": [
"homeId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"expiresAt": {
"format": "datetime",
"type": "string"
},
"inviteId": {
"type": "string"
},
"inviteUrl": {
"format": "uri",
"type": "string"
},
"maxUses": {
"type": "integer"
}
},
"required": [
"inviteId",
"inviteUrl",
"expiresAt",
"maxUses"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.home.createInvite",
"lexicon": 1
}