social.colibri.community.setMemberRoles
Schema Diff
+34 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Replaces the set of roles assigned to a member.",
6
+
"errors": [
7
+
{
8
+
"description": "The acting account has not published this AppView as authorized to act for it.",
9
+
"name": "AppViewNotAuthorized"
10
+
},
11
+
{
12
+
"description": "Missing, malformed, or unverifiable service auth.",
13
+
"name": "AuthRequired"
14
+
},
15
+
{
16
+
"description": "The AppView cannot write to the community's repo and could not repair its own access.",
17
+
"name": "CommunityCredentialsUnrecoverable"
18
+
},
19
+
{
20
+
"description": "The caller lacks the permission this method requires.",
21
+
"name": "Forbidden"
22
+
},
23
+
{
24
+
"description": "A parameter or body field was missing or malformed.",
25
+
"name": "InvalidRequest"
26
+
},
27
+
{
28
+
"description": "This AppView does not administer the community; the hub field names the one that does.",
29
+
"name": "NotCommunityHub"
30
+
},
31
+
{
32
+
"description": "The PDS this operation needs is unreachable or is not a PDS.",
33
+
"name": "PdsUnavailable"
34
+
},
35
+
{
36
+
"description": "A service outside this AppView failed.",
37
+
"name": "UpstreamFailure"
38
+
}
39
+
],
6
40
"output": {
7
41
"encoding": "application/json",
8
42
"schema": {
9
43
"properties": {
10
44
"did": {
11
45
"format": "did",
12
46
"type": "string"
13
47
},
14
48
"roles": {
15
49
"items": {
16
50
"format": "at-uri",
17
51
"type": "string"
18
52
},
19
53
"type": "array"
20
54
}
21
55
},
22
56
"required": [
23
57
"did",
24
58
"roles"
25
59
],
26
60
"type": "object"
27
61
}
28
62
},
29
63
"parameters": {
30
64
"properties": {
31
65
"community": {
32
66
"format": "at-uri",
33
67
"type": "string"
34
68
},
35
69
"member": {
36
70
"format": "did",
37
71
"type": "string"
38
72
},
39
73
"roles": {
40
74
"items": {
41
75
"type": "string"
42
76
},
43
77
"type": "array"
44
78
}
45
79
},
46
80
"required": [
47
81
"community",
48
82
"member",
49
83
"roles"
50
84
],
51
85
"type": "params"
52
86
},
53
87
"type": "procedure"
54
88
}
55
89
},
56
90
"id": "social.colibri.community.setMemberRoles",
57
91
"lexicon": 1
58
92
}