devguard
EvidenceFilesPrepare upload

Create a PENDING_UPLOAD evidence file and return a presigned S3 POST.

POST
/evidence/files/prepare-upload/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/evidence/files/prepare-upload/" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "originalName": "string",    "mimeType": "string",    "size": 1  }'
{  "fileId": "string",  "url": "string",  "fields": {    "property1": "string",    "property2": "string"  }}

How is this guide?