social.colibri.role.update
Schema Diff
+34 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.role.update",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
+
"errors": [
7
+
{
8
+
"name": "AppViewNotAuthorized",
9
+
"description": "The acting account has not published this AppView as authorized to act for it."
10
+
},
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": "NotCommunityHub",
29
+
"description": "This AppView does not administer the community; the hub field names the one that does."
30
+
},
31
+
{
32
+
"name": "PdsUnavailable",
33
+
"description": "The PDS this operation needs is unreachable or is not a PDS."
34
+
},
35
+
{
36
+
"name": "UpstreamFailure",
37
+
"description": "A service outside this AppView failed."
38
+
}
39
+
],
6
40
"output": {
7
41
"schema": {
8
42
"type": "object",
9
43
"required": [
10
44
"uri"
11
45
],
12
46
"properties": {
13
47
"uri": {
14
48
"type": "string",
15
49
"format": "at-uri"
16
50
}
17
51
}
18
52
},
19
53
"encoding": "application/json"
20
54
},
21
55
"parameters": {
22
56
"type": "params",
23
57
"required": [
24
58
"role"
25
59
],
26
60
"properties": {
27
61
"name": {
28
62
"type": "string"
29
63
},
30
64
"role": {
31
65
"type": "string",
32
66
"format": "at-uri"
33
67
},
34
68
"color": {
35
69
"type": "string"
36
70
},
37
71
"hoisted": {
38
72
"type": "boolean"
39
73
},
40
74
"position": {
41
75
"type": "integer"
42
76
},
43
77
"mentionable": {
44
78
"type": "boolean"
45
79
},
46
80
"permissions": {
47
81
"type": "array",
48
82
"items": {
49
83
"type": "string"
50
84
}
51
85
}
52
86
}
53
87
},
54
88
"description": "Updates a role."
55
89
}
56
90
},
57
91
"$type": "com.atproto.lexicon.schema",
58
92
"lexicon": 1
59
93
}