Upload a file
Uploads the raw bytes of one evidence file. Send the file MIME type as Content-Type, or application/octet-stream. The response is the updated report: use its new revision for your next change.
On a draft, the file attaches to the report. Before a final decision, the file waits as message evidence until you send it with a message.
Limits: 10 files on a draft, 10 MiB for each file, 10 pending message files, and 40 files on a report in total. To upload the same bytes with the same file ID again is safe.
Authorizations
A Firebase ID token, or a Kalligator API key (kal_…).
Path Parameters
The report ID.
A UUIDv4 that you make for this file.
Query Parameters
The file name, for example request.txt. No folder separators or control characters.
1 - 180The current report revision.
x >= 0Body
The raw file bytes. Send the file type as Content-Type.
The body is of type file.
Response
Successful Response
The report status. See the report lifecycle guide.
draft, triaging, needs_info, paused, human_review, accepted, rejected, duplicate, insufficient_info, withdrawn The status text that the website shows.
Increases when you save the draft, upload or remove a file, submit, or withdraw. Send the latest value with your next change.
Files on the report, by file ID.
The frozen copy of the report, files, and program policy at submission. null for a draft.
The final decision and an optional message. null until a decision.
Your reward payment. null until the Kalligator team approves the reward.