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