social.colibri.community.update
Schema Diff
+12 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.community.update",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"encoding": "multipart/form-data",
8
8
"description": "Optional replacement community image blobs, as `picture` and `banner` parts."
9
9
},
10
10
"errors": [
11
11
{
12
+
"name": "AppViewNotAuthorized",
13
+
"description": "The acting account has not published this AppView as authorized to act for it."
14
+
},
15
+
{
12
16
"name": "AuthRequired",
13
17
"description": "Missing, malformed, or unverifiable service auth."
14
18
},
15
19
{
16
20
"name": "CommunityCredentialsUnrecoverable",
17
21
"description": "The AppView cannot write to the community's repo and could not repair its own access."
18
22
},
19
23
{
20
24
"name": "Forbidden",
21
25
"description": "The caller lacks the permission this method requires."
22
26
},
23
27
{
24
28
"name": "InvalidRequest",
25
29
"description": "A parameter or body field was missing or malformed."
26
30
},
27
31
{
32
+
"name": "NotCommunityHub",
33
+
"description": "This AppView does not administer the community; the hub field names the one that does."
34
+
},
35
+
{
28
36
"name": "PdsUnavailable",
29
37
"description": "The PDS this operation needs is unreachable or is not a PDS."
38
+
},
39
+
{
40
+
"name": "UpstreamFailure",
41
+
"description": "A service outside this AppView failed."
30
42
}
31
43
],
32
44
"output": {
33
45
"schema": {
34
46
"type": "object",
35
47
"required": [
36
48
"uri"
37
49
],
38
50
"properties": {
39
51
"uri": {
40
52
"type": "string",
41
53
"format": "at-uri"
42
54
}
43
55
}
44
56
},
45
57
"encoding": "application/json"
46
58
},
47
59
"parameters": {
48
60
"type": "params",
49
61
"required": [
50
62
"community"
51
63
],
52
64
"properties": {
53
65
"name": {
54
66
"type": "string"
55
67
},
56
68
"community": {
57
69
"type": "string",
58
70
"format": "at-uri"
59
71
},
60
72
"description": {
61
73
"type": "string"
62
74
},
63
75
"removeBanner": {
64
76
"type": "boolean",
65
77
"description": "Drops the community's current banner. Cannot be combined with a new banner blob."
66
78
},
67
79
"removePicture": {
68
80
"type": "boolean",
69
81
"description": "Drops the community's current picture. Cannot be combined with a new picture blob."
70
82
},
71
83
"requiresApprovalToJoin": {
72
84
"type": "boolean"
73
85
}
74
86
}
75
87
},
76
88
"description": "Updates a community's metadata and optionally its picture and banner."
77
89
}
78
90
},
79
91
"$type": "com.atproto.lexicon.schema",
80
92
"lexicon": 1
81
93
}