Get a version of an evidence library document
Retrieve one version of an evidence library document, archived or not, with a short-lived download link that you can use to preview or save its file.
links.download is a temporary link to the file. When the link expires, call this
endpoint again to get a new one.
Returns 404 when the document or the version does not exist, when your credentials cannot
access the document, or when the evidenceLibraryEnabled feature flag is off.Authorizations
You can use an OAuth2 JWT bearer token in the Authorization header of your API requests for supported endpoints: Authorization: Bearer <YOUR_JWT_HERE>.
These tokens are valid for 10 minutes and can be requested via the access token endpoint endpoint.
Path Parameters
Identifier of the resource in Payrails.
Number of the version.
x >= 1Response
The version with a download link for its file.
ID of the stored file of this version.
x >= 1Deprecated. Payrails ignores it.
"application/pdf"
Set when the version is archived. Payrails never attaches an archived version.
Returned only by Get document (on each item of versions) and Get version.