Skip to main content

Upload documents to a collection

POST 

https://platform.docana.com/api/v1/collections/:collectionId/documents/

Multipart upload of one or more files into a collection. Large files can use the resumable chunked protocol driven by the x-resume-token, x-resume-from-byte and x-total-file-size request headers (see src/shared/chunked-upload.ts); plain multipart posts of the files field work without any of them. Requires write permission on the collection.

Request

Responses

Upload accepted; one entry per uploaded file (or chunk acknowledgement in chunked mode)