Get a document version
GET/documents/:document_id
Returns one version of a document, found by the document identifier alone. Without the version query parameter, the response is the latest version of the document, whether or not that version has expired. The status field of the response shows whether processing of the version is complete.
Permissions. Read on the document's pipeline.
Documents, versions and fragments describes versions and the processing status.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The version was found. The body is the document version.
The version value lies outside the range of valid timestamps (Invalid version).
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The key lacks read permission on the pipeline that contains the document (Unauthorized: access level ... required for Pipeline with id ...).
No document with this identifier exists, or the document has no version with the given version value (Document not found).