cc.coffeencode.forum.moderation

coffeencode.cc

Documentation

A moderation action, written to the moderator's own repo. Indexers must only honor it if the author's DID is the forum owner or listed in the config's moderators.

main record

A moderation action, written to the moderator's own repo. Indexers must only honor it if the author's DID is the forum owner or listed in the config's moderators.

Record Key tid Timestamp-based ID

Properties

action string Required

No description available.

Known values: pin, unpin, lock, unlock, hide, unhide, remove
createdAt string datetime Required

An RFC 3339 formatted timestamp.

forum string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

reason string Optional

No description available.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
View raw schema
{
  "description": "A moderation action, written to the moderator's own repo. Indexers must only honor it if the author's DID is the forum owner or listed in the config's moderators.",
  "key": "tid",
  "record": {
    "properties": {
      "action": {
        "knownValues": [
          "pin",
          "unpin",
          "lock",
          "unlock",
          "hide",
          "unhide",
          "remove"
        ],
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "forum": {
        "format": "at-uri",
        "type": "string"
      },
      "reason": {
        "maxGraphemes": 500,
        "maxLength": 5000,
        "type": "string"
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      }
    },
    "required": [
      "forum",
      "subject",
      "action",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@