net.atchan.moderation.emitEvent
Label or take down one post through atchan's labeler. A thin layer over tools.ozone.moderation.emitEvents.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.atchan.net |
| Commit rev | 3n2pctltn222k |
| Indexed |
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. A thin layer over tools.ozone.moderation.emitEvents.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"event": {
"closed": true,
"description": "The moderation event to emit.",
"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
}