social.colibri.community.create
Schema Diff
+18 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.community.create",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"encoding": "multipart/form-data",
8
8
"description": "Optional community image blobs, as `picture` and `banner` parts."
9
9
},
10
+
"errors": [
11
+
{
12
+
"name": "AuthRequired",
13
+
"description": "Missing, malformed, or unverifiable service auth."
14
+
},
15
+
{
16
+
"name": "InvalidRequest",
17
+
"description": "A parameter or body field was missing or malformed."
18
+
},
19
+
{
20
+
"name": "PdsUnavailable",
21
+
"description": "The PDS this operation needs is unreachable or is not a PDS."
22
+
},
23
+
{
24
+
"name": "UpstreamFailure",
25
+
"description": "A service outside this AppView failed."
26
+
}
27
+
],
10
28
"output": {
11
29
"schema": {
12
30
"type": "object",
13
31
"required": [
14
32
"did",
15
33
"community",
16
34
"category",
17
35
"channel",
18
36
"ownerRole",
19
37
"member"
20
38
],
21
39
"properties": {
22
40
"did": {
23
41
"type": "string",
24
42
"format": "did"
25
43
},
26
44
"member": {
27
45
"type": "string",
28
46
"format": "at-uri"
29
47
},
30
48
"channel": {
31
49
"type": "string",
32
50
"format": "at-uri"
33
51
},
34
52
"category": {
35
53
"type": "string",
36
54
"format": "at-uri"
37
55
},
38
56
"community": {
39
57
"type": "string",
40
58
"format": "at-uri"
41
59
},
42
60
"ownerRole": {
43
61
"type": "string",
44
62
"format": "at-uri"
45
63
}
46
64
}
47
65
},
48
66
"encoding": "application/json"
49
67
},
50
68
"parameters": {
51
69
"type": "params",
52
70
"required": [
53
71
"name"
54
72
],
55
73
"properties": {
56
74
"pds": {
57
75
"type": "string",
58
76
"description": "Bring-your-own PDS endpoint."
59
77
},
60
78
"name": {
61
79
"type": "string"
62
80
},
63
81
"password": {
64
82
"type": "string",
65
83
"description": "Bring-your-own account password."
66
84
},
67
85
"identifier": {
68
86
"type": "string",
69
87
"description": "Bring-your-own DID or handle."
70
88
},
71
89
"description": {
72
90
"type": "string"
73
91
},
74
92
"requiresApprovalToJoin": {
75
93
"type": "boolean"
76
94
}
77
95
}
78
96
},
79
97
"description": "Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record."
80
98
}
81
99
},
82
100
"$type": "com.atproto.lexicon.schema",
83
101
"lexicon": 1
84
102
}