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