social.colibri.role.create
Schema Diff
+22 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.role.create",
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
"community",
25
47
"name",
26
48
"permissions",
27
49
"position"
28
50
],
29
51
"properties": {
30
52
"name": {
31
53
"type": "string"
32
54
},
33
55
"color": {
34
56
"type": "string"
35
57
},
36
58
"hoisted": {
37
59
"type": "boolean"
38
60
},
39
61
"position": {
40
62
"type": "integer"
41
63
},
42
64
"community": {
43
65
"type": "string",
44
66
"format": "at-uri"
45
67
},
46
68
"mentionable": {
47
69
"type": "boolean"
48
70
},
49
71
"permissions": {
50
72
"type": "array",
51
73
"items": {
52
74
"type": "string"
53
75
}
54
76
}
55
77
}
56
78
},
57
79
"description": "Creates a role in a community."
58
80
}
59
81
},
60
82
"$type": "com.atproto.lexicon.schema",
61
83
"lexicon": 1
62
84
}