Get evidence upload limits
/api/cases/evidence-deliveryWhether 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.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/cases/evidence-delivery"{ "configured": true, "uploadsAllowed": true, "storeExplanation": "string", "directDelivery": true, "maxFileBytes": 0, "acceptedTypes": [ "string" ]}List unwritten case files GET
Bans in the last N days with no case file, newest first. Read from the recorded ban facts, so it covers the window Modbot's audit-log sync covers and nothing before it. A ban is covered when a case file that stands names its audit entry, or was written for the same person on or after it. A withdrawn case file covers nothing. This is the list the accountability "bans without a report" signal reads. Needs the `ViewProfile` permission.
Check for case files GET
Whether each of these people has a case file -- the badge beside a ban. Needs the `ViewProfile` permission.