{
"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"
}
],
"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"
}
}
},
"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
-
bafyreibc6na2ijgmntwju7e3xbh7hy4pildxybbyeszuvn2ybyi2tugbvq
- Indexed At
- 2026-08-28 23:34 UTC
- AT-URI
-
at://did:plc:2xrqztnmzlckb3xfuuukupso/com.atproto.lexicon.schema/com.getorbyt.community.moderatePost