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