{
"id": "com.getorbyt.community.moderatePost",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"community",
"post",
"action"
],
"properties": {
"post": {
"type": "string",
"format": "at-uri",
"description": "The linked app.bsky.feed.post URI."
},
"action": {
"type": "string",
"knownValues": [
"remove",
"restore",
"pin",
"unpin"
]
},
"reason": {
"type": "string",
"maxLength": 1000,
"description": "Required for removal, shown to the author, and recorded in the moderation log."
},
"community": {
"type": "string",
"format": "at-uri"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "CommunityNotFound"
},
{
"name": "InsufficientRole"
},
{
"name": "PostNotFound"
},
{
"name": "InvalidAction"
},
{
"name": "AuthenticationRequired",
"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."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"status",
"pinned",
"changed"
],
"properties": {
"pinned": {
"type": "boolean"
},
"status": {
"type": "string",
"knownValues": [
"visible",
"removed"
]
},
"changed": {
"type": "boolean"
},
"removedAt": {
"type": "string",
"format": "datetime"
},
"removedReason": {
"type": "string"
},
"removalActionId": {
"type": "string",
"maxLength": 128
}
}
},
"encoding": "application/json"
},
"description": "A moderator action on one post's Community-level state. Removal is scoped to the Community; only actions that change state are journaled."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:2xrqztnmzlckb3xfuuukupso
- CID
-
bafyreihtg3r3zueazw6jw7aiyuzbkr25fkgnw2yozwk64pygas3bkx44eu
- Indexed At
- 2026-09-02 18:57 UTC
- AT-URI
-
at://did:plc:2xrqztnmzlckb3xfuuukupso/com.atproto.lexicon.schema/com.getorbyt.community.moderatePost
Version History (3 versions)