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