com.getorbyt.community.moderatePost
Schema Diff
+4 -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": "A moderator action on one post's Community-level state. Removal is scoped to the Community; only actions that change state are journaled.",
6
6
"errors": [
7
7
{
8
8
"name": "CommunityNotFound"
9
9
},
10
10
{
11
11
"name": "InsufficientRole"
12
12
},
13
13
{
14
14
"name": "PostNotFound"
15
15
},
16
16
{
17
17
"name": "InvalidAction"
18
+
},
19
+
{
20
+
"description": "The request carried no service-auth token, or one this service could not verify for the method. Distinct from InsufficientRole: the caller's identity was never established, so no role decision was made. A client should reauthorize and retry once rather than tell the viewer they lack access.",
21
+
"name": "AuthenticationRequired"
18
22
}
19
23
],
20
24
"input": {
21
25
"encoding": "application/json",
22
26
"schema": {
23
27
"properties": {
24
28
"action": {
25
29
"knownValues": [
26
30
"remove",
27
31
"restore",
28
32
"pin",
29
33
"unpin"
30
34
],
31
35
"type": "string"
32
36
},
33
37
"community": {
34
38
"format": "at-uri",
35
39
"type": "string"
36
40
},
37
41
"post": {
38
42
"description": "The linked app.bsky.feed.post URI.",
39
43
"format": "at-uri",
40
44
"type": "string"
41
45
},
42
46
"reason": {
43
47
"description": "Required for removal, shown to the author, and recorded in the moderation log.",
44
48
"maxLength": 1000,
45
49
"type": "string"
46
50
}
47
51
},
48
52
"required": [
49
53
"community",
50
54
"post",
51
55
"action"
52
56
],
53
57
"type": "object"
54
58
}
55
59
},
56
60
"output": {
57
61
"encoding": "application/json",
58
62
"schema": {
59
63
"properties": {
60
64
"changed": {
61
65
"type": "boolean"
62
66
},
63
67
"pinned": {
64
68
"type": "boolean"
65
69
},
66
70
"removedAt": {
67
71
"format": "datetime",
68
72
"type": "string"
69
73
},
70
74
"removedReason": {
71
75
"type": "string"
72
76
},
73
77
"status": {
74
78
"knownValues": [
75
79
"visible",
76
80
"removed"
77
81
],
78
82
"type": "string"
79
83
}
80
84
},
81
85
"required": [
82
86
"status",
83
87
"pinned",
84
88
"changed"
85
89
],
86
90
"type": "object"
87
91
}
88
92
},
89
93
"type": "procedure"
90
94
}
91
95
},
92
96
"id": "com.getorbyt.community.moderatePost",
93
97
"lexicon": 1
94
98
}