Check for case files
/api/cases/lookupWhether each of these people has a case file -- the badge beside a ban.
Needs the ViewProfile permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Also accepted as userId.
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/cases/lookup"[ { "userId": "string", "caseId": null, "count": 0 }]Get evidence upload limits GET
Whether uploads are open right now, the formats accepted and the size limit per file -- the same `evidenceDelivery` a case file carries, for a screen that attaches files before the case file exists. The ban dialog uses it: files are sent as soon as they are picked and committed to the case file the ban writes. Needs the `ViewProfile` permission.
Get case file GET
One case file: reasons, the written reason, the evidence, and the profile at the time. `evidence` is null unless the caller holds ViewEvidence. `snapshot.explanation` says when the profile was captured and how old it was then; the snapshot never changes afterwards except for the one permitted recapture, which `snapshot.canCaptureAgain` offers when a fresher profile has arrived. `evidenceDelivery` repeats what the Settings evidence card says about how bytes travel, so the attach control can say the same thing. Needs the `ViewProfile` permission.