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