social.colibri.community.update
Schema Diff
+22 -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
+
"errors": [
11
+
{
12
+
"name": "AuthRequired",
13
+
"description": "Missing, malformed, or unverifiable service auth."
14
+
},
15
+
{
16
+
"name": "CommunityCredentialsUnrecoverable",
17
+
"description": "The AppView cannot write to the community's repo and could not repair its own access."
18
+
},
19
+
{
20
+
"name": "Forbidden",
21
+
"description": "The caller lacks the permission this method requires."
22
+
},
23
+
{
24
+
"name": "InvalidRequest",
25
+
"description": "A parameter or body field was missing or malformed."
26
+
},
27
+
{
28
+
"name": "PdsUnavailable",
29
+
"description": "The PDS this operation needs is unreachable or is not a PDS."
30
+
}
31
+
],
10
32
"output": {
11
33
"schema": {
12
34
"type": "object",
13
35
"required": [
14
36
"uri"
15
37
],
16
38
"properties": {
17
39
"uri": {
18
40
"type": "string",
19
41
"format": "at-uri"
20
42
}
21
43
}
22
44
},
23
45
"encoding": "application/json"
24
46
},
25
47
"parameters": {
26
48
"type": "params",
27
49
"required": [
28
50
"community"
29
51
],
30
52
"properties": {
31
53
"name": {
32
54
"type": "string"
33
55
},
34
56
"community": {
35
57
"type": "string",
36
58
"format": "at-uri"
37
59
},
38
60
"description": {
39
61
"type": "string"
40
62
},
41
63
"removeBanner": {
42
64
"type": "boolean",
43
65
"description": "Drops the community's current banner. Cannot be combined with a new banner blob."
44
66
},
45
67
"removePicture": {
46
68
"type": "boolean",
47
69
"description": "Drops the community's current picture. Cannot be combined with a new picture blob."
48
70
},
49
71
"requiresApprovalToJoin": {
50
72
"type": "boolean"
51
73
}
52
74
}
53
75
},
54
76
"description": "Updates a community's metadata and optionally its picture and banner."
55
77
}
56
78
},
57
79
"$type": "com.atproto.lexicon.schema",
58
80
"lexicon": 1
59
81
}