full diff

net.atchan.moderation.emitEvent

atchan.net +2 −2
From
bafyreiblj3eirnxhrje4aa5jqte6ybhqaozwx3a733oqtzcvdn4qnpqrt4 indexed 2026-11-20 00:05 UTC View this version
To
bafyreifgfjf3lfxcri3jefpe5fxwyalevzod5ufkg3zqyjw3wq5qwf3wky indexed 2026-11-20 00:19 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "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.",
5 "description": "Label or take down one post through atchan's labeler. A thin layer over tools.ozone.moderation.emitEvents.",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "event": {
1111 "closed": true,
12 "description": "The moderation event to emit. Of a takedown's fields, only comment and durationInHours are supported; a label event may not set durationInHours.",
12 "description": "The moderation event to emit.",
1313 "refs": [
1414 "tools.ozone.moderation.defs#modEventLabel",
1515 "tools.ozone.moderation.defs#modEventTakedown"
1616 ],
1717 "type": "union"
1818 },
1919 "subject": {
2020 "ref": "com.atproto.repo.strongRef",
2121 "type": "ref"
2222 }
2323 },
2424 "required": [
2525 "event",
2626 "subject"
2727 ],
2828 "type": "object"
2929 }
3030 },
3131 "type": "procedure"
3232 }
3333 },
3434 "id": "net.atchan.moderation.emitEvent",
3535 "lexicon": 1
3636}

Compare other versions