com.getorbyt.community.moderatePost
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.getorbyt.community.moderatePost:output.removalActionId" }
- AddedEdge AddedEdge { src: "com.getorbyt.community.moderatePost:output", tgt: "com.getorbyt.community.moderatePost:output.removalActionId", kind: "prop", name: Some("removalActionId") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.getorbyt.community.moderatePost:output.removalActionId" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.getorbyt.community.moderatePost:output", tgt: "com.getorbyt.community.moderatePost:output.removalActionId", kind: "prop", name: Some("removalActionId") }
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
18
},
19
19
{
20
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
21
"name": "AuthenticationRequired"
22
22
}
23
23
],
24
24
"input": {
25
25
"encoding": "application/json",
26
26
"schema": {
27
27
"properties": {
28
28
"action": {
29
29
"knownValues": [
30
30
"remove",
31
31
"restore",
32
32
"pin",
33
33
"unpin"
34
34
],
35
35
"type": "string"
36
36
},
37
37
"community": {
38
38
"format": "at-uri",
39
39
"type": "string"
40
40
},
41
41
"post": {
42
42
"description": "The linked app.bsky.feed.post URI.",
43
43
"format": "at-uri",
44
44
"type": "string"
45
45
},
46
46
"reason": {
47
47
"description": "Required for removal, shown to the author, and recorded in the moderation log.",
48
48
"maxLength": 1000,
49
49
"type": "string"
50
50
}
51
51
},
52
52
"required": [
53
53
"community",
54
54
"post",
55
55
"action"
56
56
],
57
57
"type": "object"
58
58
}
59
59
},
60
60
"output": {
61
61
"encoding": "application/json",
62
62
"schema": {
63
63
"properties": {
64
64
"changed": {
65
65
"type": "boolean"
66
66
},
67
67
"pinned": {
68
68
"type": "boolean"
69
69
},
70
+
"removalActionId": {
71
+
"maxLength": 128,
72
+
"type": "string"
73
+
},
70
74
"removedAt": {
71
75
"format": "datetime",
72
76
"type": "string"
73
77
},
74
78
"removedReason": {
75
79
"type": "string"
76
80
},
77
81
"status": {
78
82
"knownValues": [
79
83
"visible",
80
84
"removed"
81
85
],
82
86
"type": "string"
83
87
}
84
88
},
85
89
"required": [
86
90
"status",
87
91
"pinned",
88
92
"changed"
89
93
],
90
94
"type": "object"
91
95
}
92
96
},
93
97
"type": "procedure"
94
98
}
95
99
},
96
100
"id": "com.getorbyt.community.moderatePost",
97
101
"lexicon": 1
98
102
}