Resolves every open report about one post at once: remove the post, or dismiss the reports and keep it. Requires manage-reports, and manage-posts to remove.
Input
application/jsonaction
string
Required
No description available.
community
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
note
string
Optional
For remove: the reason shown to the author. For dismiss: a note for the moderation log.
maxLength: 1000 bytespost
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
ruleIndex
integer
Optional
For remove: the Community rule the post broke, by position. Shown to the author.
minimum: 0Output
application/jsonpost
refcom.getorbyt.community.defs#reportedPostView
Optional
No description available.
resolved
integer
Required
How many open reports this resolved.
Errors
AuthenticationRequired
CommunityNotFound
InsufficientRole
PostNotFound
RuleNotFound
InvalidState
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Resolves every open report about one post at once: remove the post, or dismiss the reports and keep it. Requires manage-reports, and manage-posts to remove.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "CommunityNotFound"
},
{
"name": "InsufficientRole"
},
{
"name": "PostNotFound"
},
{
"name": "RuleNotFound"
},
{
"name": "InvalidState"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"action": {
"knownValues": [
"remove",
"dismiss"
],
"type": "string"
},
"community": {
"format": "at-uri",
"type": "string"
},
"note": {
"description": "For remove: the reason shown to the author. For dismiss: a note for the moderation log.",
"maxLength": 1000,
"type": "string"
},
"post": {
"format": "at-uri",
"type": "string"
},
"ruleIndex": {
"description": "For remove: the Community rule the post broke, by position. Shown to the author.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"community",
"post",
"action"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"post": {
"ref": "com.getorbyt.community.defs#reportedPostView",
"type": "ref"
},
"resolved": {
"description": "How many open reports this resolved.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"resolved"
],
"type": "object"
}
},
"type": "procedure"
}