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