net.atchan.moderation.emitEvent

Label or take down one post through atchan's labeler, as the signed-in moderator. A thin layer over tools.ozone.moderation.emitEvent: atchan fills in createdBy, pairs every takedown with its takedown label, and only applies reply-level labels.

Repository @atchan.net did:plc:vshgahazzq7qwvp2xc6ai27o namespace authority
Details · procedure
Kindprocedure
Authoritymoderation.atchan.net
Commit rev3n2pc2bep322k
Indexed

Showing version bafyreiblj3eirnxhrje4aa5jqte6ybhqaozwx3a733oqtzcvdn4qnpqrt4. Show the latest

cid bafyreiblj3eirnxhrje4aa5jqte6ybhqaozwx3a733oqtzcvdn4qnpqrt4

Checks

Valid
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Label or take down one post through atchan's labeler, as the signed-in moderator. A thin layer over tools.ozone.moderation.emitEvent: atchan fills in createdBy, pairs every takedown with its takedown label, and only applies reply-level labels.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "event": {
              "closed": true,
              "description": "The moderation event to emit. Of a takedown's fields, only comment and durationInHours are supported; a label event may not set durationInHours.",
              "refs": [
                "tools.ozone.moderation.defs#modEventLabel",
                "tools.ozone.moderation.defs#modEventTakedown"
              ],
              "type": "union"
            },
            "subject": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          },
          "required": [
            "event",
            "subject"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "net.atchan.moderation.emitEvent",
  "lexicon": 1
}