Modbot Docs
APIAPI referenceEvidence

Download evidence

GET/api/evidence/{hash}

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.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Path Parameters

hash*string
Length64 <= length <= 64

Query Parameters

case?string
view?boolean

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/evidence/stringstringstringstringstringstringstringstringstringstringstri"
Empty

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.