532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
44 lines
902 B
JSON
44 lines
902 B
JSON
{
|
|
"id": "com.atproto.server.createInviteCode",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"input": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"useCount"
|
|
],
|
|
"properties": {
|
|
"useCount": {
|
|
"type": "integer"
|
|
},
|
|
"forAccount": {
|
|
"type": "string",
|
|
"format": "did"
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"code"
|
|
],
|
|
"properties": {
|
|
"code": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"description": "Create an invite code."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|