social.colibri.community.setMemberRoles
Schema Diff
+22 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.community.setMemberRoles",
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
"did",
11
33
"roles"
12
34
],
13
35
"properties": {
14
36
"did": {
15
37
"type": "string",
16
38
"format": "did"
17
39
},
18
40
"roles": {
19
41
"type": "array",
20
42
"items": {
21
43
"type": "string",
22
44
"format": "at-uri"
23
45
}
24
46
}
25
47
}
26
48
},
27
49
"encoding": "application/json"
28
50
},
29
51
"parameters": {
30
52
"type": "params",
31
53
"required": [
32
54
"community",
33
55
"member",
34
56
"roles"
35
57
],
36
58
"properties": {
37
59
"roles": {
38
60
"type": "array",
39
61
"items": {
40
62
"type": "string"
41
63
}
42
64
},
43
65
"member": {
44
66
"type": "string",
45
67
"format": "did"
46
68
},
47
69
"community": {
48
70
"type": "string",
49
71
"format": "at-uri"
50
72
}
51
73
}
52
74
},
53
75
"description": "Replaces the set of roles assigned to a member."
54
76
}
55
77
},
56
78
"$type": "com.atproto.lexicon.schema",
57
79
"lexicon": 1
58
80
}