Skip to navigation

Upload a file to a slot

Beta

Files a document to this slot (multipart, same file rules as Upload a document). The slot moves to received_pending_review; a file it already held moves to a superseded history row. A waived slot refuses files (409 — re-open it first). A project certificate is evidence for this job only: it never becomes the subcontractor’s baseline coverage. The assignment re-checks once the file has been read. Requires documents:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

assignmentIdstringRequiredformat: "uuid"

The assignment (project membership) id returned when the subcontractor was attached to the project.

slotIdstringRequiredformat: "uuid"

Request

This endpoint expects a multipart form containing a file.
filefileRequired
documentLabelstringOptional
metadatastringOptional
JSON object of at most 16 KB, as a string.

Response

Byte-identical certificate already filed for this project; nothing created

dataobject
messagestring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error