app.tempomusic.moderation.createReport
Submit a user-initiated report on a post, reply, or actor account. The reporter DID is read from the authenticated principal. Reports are dedupe-forever on (reporter, subject): a duplicate submission returns the existing report id with `deduped: true` and no new row is inserted. Per-reporter rate limit applies (5/hour, 50/day). Reports are server-side records only — they are NEVER published as PDS records, never broadcast on the firehose, and are only readable by moderators via the admin surface.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.tempomusic.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Submit a user-initiated report on a post, reply, or actor account. The reporter DID is read from the authenticated principal. Reports are dedupe-forever on (reporter, subject): a duplicate submission returns the existing report id with `deduped: true` and no new row is inserted. Per-reporter rate limit applies (5/hour, 50/day). Reports are server-side records only — they are NEVER published as PDS records, never broadcast on the firehose, and are only readable by moderators via the admin surface.",
"errors": [
{
"description": "The reporter has exceeded the per-hour or per-day report limit. Try again later.",
"name": "RateLimited"
},
{
"description": "The subject union carries a value outside the supported $type set, or is malformed (missing uri/cid/did).",
"name": "InvalidSubject"
},
{
"description": "reasonType is `other` but `details` was empty. Free-text context is mandatory for the catch-all reason.",
"name": "DetailsRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"details": {
"description": "Free-text context. Required when reasonType is `other`; optional otherwise.",
"maxGraphemes": 500,
"maxLength": 500,
"type": "string"
},
"reasonType": {
"ref": "app.tempomusic.moderation.defs#reasonType",
"type": "ref"
},
"subject": {
"description": "The reported entity. Discriminated by $type.",
"refs": [
"app.tempomusic.moderation.defs#postSubject",
"app.tempomusic.moderation.defs#replySubject",
"app.tempomusic.moderation.defs#accountSubject"
],
"type": "union"
}
},
"required": [
"subject",
"reasonType"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deduped": {
"description": "True when the call hit the (reporter, subject) dedupe constraint and no new row was inserted.",
"type": "boolean"
},
"reportId": {
"description": "Identifier of the report row. Same value returned for the original submission and any subsequent duplicate.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"reportId",
"deduped"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.tempomusic.moderation.createReport",
"lexicon": 1
}