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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.atchan.net |
| Commit rev | 3n2pc2bep322k |
| Indexed |
Showing version bafyreiblj3eirnxhrje4aa5jqte6ybhqaozwx3a733oqtzcvdn4qnpqrt4. Show the latest
Checks
Validendpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$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
}