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