evidence

Ask for a form to upload a file the policy asks for as evidence

post/evidence-attachments

Request

  • Base URL
    https://api.catena.com/v1/agent-api
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

Names the upload. Repeating the request with the same key and the same file returns the same attachment while it is usable: with a newly signed form while it awaits the file, without one after.

Request body

contentTypestring required

The file's media type: image/png, image/jpeg or image/webp

sizeBytesnumber required

The file's length in bytes

sha256Hexstring required

The SHA-256 digest of the file, in lowercase hex

filenamestring

A name to show people looking at the evidence; never trusted

Response

The attachment this key already names, with a new form while it still awaits the file

Changes

No recorded changes to this operation across all 1 revision of this API.