com.getorbyt.community.moderatePost

getorbyt.com

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

Validate Record

Validate a record against com.getorbyt.community.moderatePost

Validation Options
Treat any remaining unresolved references as valid

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 (4 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.

  • Resolves one Community report by removing its post or dismissing the report. Requires authenticated moderator authorization.

  • An append-only moderation action in a community view. V0 understands removal only.

  • A community's record that a post has been removed from it. Written in the same com.atproto.repo.applyWrites commit that deletes the social.coves.community.acceptance, so the firehose never carries a half-completed moder…

  • Creates the post author's single private appeal for a specific Community removal action. Requires authenticated service authorization.

Lexicon Garden

@