tools.ozone.report.closeReports
Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | report.ozone.tools |
| Commit rev | 3n2oxkytspk24 |
| Indexed |
Showing version bafyreicehpycckcxpgdewn2paunik573nbgtr76wehrgfxemz6to75qhre. Show the latest
Procedure
procedure · POSTInput
application/jsonactionEventId
integerOptional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.
minimum: 1
excludedReportTypes
arrayReports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.
includeAllOwned
booleanIf true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.
default: false
internalNote
stringOptional moderator-only note recorded on each close activity. Not visible to reporters.
isAutomated
booleanSet true when this action is triggered by an automated process. Defaults to false.
default: false
meta
unknownOptional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.
reportId
integerAn explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.
minimum: 1
reportTypes
arrayIf nonempty, eligible reports of the given report types (fully qualified reason NSIDs) are closed, in addition to reportId. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId.
Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.
Output
application/jsonNumber of reports that were transitioned to closed.
IDs of the reports that were closed.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
tools.ozone.moderation.emitEvent
procedureTake a moderation action on an actor.
-
app.tempomusic.staff.dismissReport
procedureClose a report without acting on the subject. Valid from `open` (fast-path obvious junk) and from `underReview`. Writes a single `reportDismissed` audit row. Fast-path dismissal directly from `open` does NOT emit a `reportTriaged` audit row first — only the dismissal entry is written.
-
View moderation reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level.
-
app.tempomusic.staff.takedownSubject
procedureFlip `moderation_status` on a subject row to a non-zero takedown class. Read paths immediately refuse to serve the subject (404 on getPost / getReply / actor reads). Re-takedown against an already-taken-down subject is permitted as a severity escalation (e.g. `reported` → `legalHold`) or to amend the reason; each call writes a new audit row. Scoped to the subject row ONLY: an account takedown flips the profile row (offensive avatar/bio case) and does not touch the account's content — hiding ever
-
Get a moderation report submitted by the authenticated account to this moderation service.