social.colibri.beta.community.create
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.beta.community.create",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"name"
11
11
],
12
12
"properties": {
13
13
"name": {
14
14
"type": "string",
15
15
"maxLength": 32,
16
16
"minLength": 1,
17
17
"description": "The community's name."
18
18
},
19
19
"description": {
20
20
"type": "string",
21
21
"maxLength": 256,
22
22
"description": "The community's description."
23
23
},
24
24
"handlePrefix": {
25
25
"type": "string",
26
26
"description": "A slug used for the community handle instead of a generated one."
27
27
}
28
28
}
29
29
},
30
30
"encoding": "application/json"
31
31
},
32
32
"errors": [
33
33
{
34
34
"name": "AuthRequired",
35
35
"description": "The request is missing, malformed, or unverifiable service auth."
36
36
},
37
37
{
38
38
"name": "InvalidRequest",
39
39
"description": "The arguments are inconsistent or malformed beyond schema validation."
40
40
},
41
41
{
42
42
"name": "AlreadyExists",
43
43
"description": "A community already exists with the requested handle."
44
44
},
45
45
{
46
46
"name": "PdsUnavailable",
47
47
"description": "The AppView's PDS could not be reached to provision the account."
48
48
},
49
49
{
50
+
"name": "SpacesUnsupported",
51
+
"description": "The AppView's PDS does not implement com.atproto.simplespace, so it cannot host community spaces."
52
+
},
53
+
{
50
54
"name": "UpstreamFailure",
51
55
"description": "A PDS or third-party call the AppView depends on failed."
52
56
}
53
57
],
54
58
"output": {
55
59
"schema": {
56
60
"type": "object",
57
61
"required": [
58
62
"community"
59
63
],
60
64
"properties": {
61
65
"community": {
62
66
"ref": "social.colibri.beta.community.defs#communityView",
63
67
"type": "ref",
64
68
"description": "The newly created community."
65
69
}
66
70
}
67
71
},
68
72
"encoding": "application/json"
69
73
},
70
74
"description": "Provisions a new community: an account on the AppView's PDS, its four spaces, an owner role, and a starter layout of two categories holding one text channel and one voice channel between them. This call runs long enough that progress is also emitted over social.colibri.beta.sync.subscribeEvents."
71
75
}
72
76
},
73
77
"$type": "com.atproto.lexicon.schema",
74
78
"lexicon": 1
75
79
}