atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.server.createInviteCode",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Create an invite code.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "useCount"
14 ],
15 "properties": {
16 "forAccount": {
17 "type": "string",
18 "format": "did"
19 },
20 "useCount": {
21 "type": "integer"
22 }
23 }
24 }
25 },
26 "output": {
27 "encoding": "application/json",
28 "schema": {
29 "type": "object",
30 "required": [
31 "code"
32 ],
33 "properties": {
34 "code": {
35 "type": "string"
36 }
37 }
38 }
39 }
40 }
41 }
42}