Controls

Upload an evidence file to a control

POST
/organizations/{organizationId}/controls/{controlId}/evidence/upload

Uploads a file and adds it as evidence on a control.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
controlId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/controls/string/evidence/upload"
{  "id": "string",  "organizationId": "string",  "controlId": "string",  "evidenceType": "document",  "tags": [    "string"  ],  "evidenceId": "string",  "externalUrl": "string",  "asset": {    "bucket": "string",    "key": "string",    "fileName": "string",    "contentType": "string",    "fileSize": 0  },  "title": "string",  "collectedAt": "string",  "validFrom": "string",  "validUntil": "string",  "addedByUserId": "string",  "notes": "string",  "fulfillsTaskId": "string",  "evidenceReleaseId": "string",  "evidenceDocumentVersion": 0,  "dateCreated": null,  "dateUpdated": null,  "property1": null,  "property2": null}