v1

latestOpenAPI 3.1.02026-07-267418115.3 KB

Deprecated in favour of init_multipart_upload

post/api/v1/documents/init_upload

Request body

filenamestring required

The filename of the document to be uploaded, optionally gzipped (and ending in .gz or .gzip). Filenames should only contain alphanumeric characters, dashes, underscores, and periods.

sizeinteger required

The size of the file in bytes.

Response

OK

additional_fieldsobject required

Additional fields to include in the upload.

document_idstring required

The document_id of the uploaded document.

upload_urlstring required

The URL to POST the document to.