Upload multiple documents
POST/documents/batch
Upload multiple documents to the Camunda 8 cluster.
The caller must provide a file name for each document, which will be used in case of a multi-status response
to identify which documents failed to upload. The file name can be provided in the Content-Disposition
header
of the file part or in the filename
field of the metadata part. If both are provided, the filename
field
takes precedence.
In case of a multi-status response, the response body will contain a list of DocumentBatchProblemDetail
objects,
each of which contains the file name of the document that failed to upload and the reason for the failure.
The client can choose to retry the whole batch or individual documents based on the response.
Note that this is currently supported for document stores of type: AWS, GCP, in-memory, local
Request
Responses
- 201
- 207
- 400
All documents were uploaded successfully.
Not all documents were uploaded successfully. More details are provided in the response body.
The document upload failed. More details are provided in the response body.