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