Skip to main content

Complete File

POST 

/v1/files/:file_id/complete

Check the uploaded bytes and make the file ready.

The type is read from the bytes and replaces the declared one. Bytes that are too large, of a type a file may not have (SVG, HTML, any markup), or an archive that inflates past 20 MB are deleted and the file becomes failed (422, with failureReason). Nothing uploaded yet: 409. A file that is already ready or failed is answered as it is.

Request​

Responses​

Successful Response