pub.chive.moderation.createReport
Report content for moderation review. Requires authentication. Duplicate reports from the same user for the same content are idempotent.
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.chive.pub |
| Indexed |
Showing version bafyreiaji5e3inhbgma4j7v62g67sc4flcegtmlc3itsljebtdossjyz3a. Show the latest
Checks
Validunlimited-stringdefs.main.input.schema.properties.reasonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.targetCollectionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Report content for moderation review. Requires authentication. Duplicate reports from the same user for the same content are idempotent.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"description": "Optional additional details about the report",
"maxLength": 2000,
"type": "string"
},
"reason": {
"description": "Reason for reporting",
"knownValues": [
"spam",
"inappropriate",
"copyright",
"misinformation",
"other"
],
"type": "string"
},
"targetCollection": {
"description": "Collection NSID of the target content",
"type": "string"
},
"targetUri": {
"description": "AT-URI of the content to report",
"format": "at-uri",
"type": "string"
}
},
"required": [
"targetUri",
"targetCollection",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"id": {
"description": "Report ID",
"type": "integer"
},
"success": {
"description": "Whether the report was created",
"type": "boolean"
}
},
"required": [
"success",
"id"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.moderation.createReport",
"lexicon": 1,
"revision": 1
}