Destroy evidence
/api/evidence/{hash}/destroyRefcounted: content addressing means two case files can hold one object, so the case files still holding these bytes are named back rather than having their evidence quietly removed. caseId is the case file it is being destroyed from, withdrawn or not: that case file lets go of it as part of the destroy, and only the others stop it. There is no undo — no backend Modbot supports could implement one — and what survives is the hash, the size, the type, who destroyed it and why. Recorded as a fact against your account.
Needs the DestroyEvidence permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
64 <= length <= 64Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/evidence/stringstringstringstringstringstringstringstringstringstringstri/destroy" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'{ "destroyed": true, "blockedByReports": [ "string" ], "message": "string"}Download evidence GET
Served with Content-Disposition: attachment, the content type Modbot determined from the bytes themselves, X-Content-Type-Options: nosniff and a sandbox CSP. Every request is written to the audit log against your account: as "Evidence downloaded" every time, or as "Evidence viewed" when the request says view=true, at most once per person per file every ten minutes. case names the case file the page was opened from. On a store that can presign and with direct delivery on, this redirects to a five-minute URL and the bucket serves the bytes; otherwise they stream through Modbot and are re-hashed on the way past. Range requests are answered where the backend supports them, because that is what makes video seeking work. Needs the `ViewEvidence` permission.
List reviews GET
Reviews of a moderator's pattern: open by default, or closed, or all. Detection opens a review when one moderator keeps acting on one person across instances where nobody else has, or does far more in a day than the rest of the team. Every review carries the numbers it was opened on and the fact ids behind them. It is a question for a person, never a finding: closing one records who answered and what they said, and is itself a fact. Returns at most 500 reviews: the oldest open ones, or the most recently closed. Needs the `ReviewTickets` permission.