Download document (alpha)
GET/documents/:documentId
Download a document from the Camunda 8 cluster.
Note that this currently only supports an in-memory document store, which is not meant for production use.
This endpoint is an alpha feature and may be subject to change in future releases.
Request
Path Parameters
The ID of the document to download.
Query Parameters
The ID of the document store to download the document from.
The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. This header is required when hash verification is enabled for the document store. If hash verification is enabled and the client fails to provide the correct hash, the request will be rejected.
Responses
- 200
- 404
- 500
The document was downloaded successfully.
- application/octet-stream
- Schema
Schema
string
The document with the given ID was not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}