Get Version
A version of a document, by its version_id, or latest for the newest version. files.clean is the document as of that version and, after the first version, files.comparison is its redline against the version before it, each a file as GET /v1/files/{file_id} serves it in the formats asked for. A format still being made is in that file's pending_formats, and the answer carries Retry-After.
Request
- Base URLhttps://api.versionstory.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.versionstory.com/v1/documents/{document_id}/versions/{version_id}
- AuthHTTP bearer
Path parameters
The version's version_id, a UUID, or "latest" for the Document's newest version.
The Document's document_id, a UUID.
Query parameters
The formats of every file the answer carries, each version's file and its redline: docx (default), pdf, md, json, html; repeatable or comma-separated, each as GET /v1/files/{file_id} serves it. A file that is not served in a format asked for lists it in its failed_formats.
true adds content_base64, the file's bytes, to each ready download of the version's file and its redline.
Headers
Id of one of your customers (created in the developer dashboard) to attribute this request's credit usage to. Billing and limits stay organization-wide.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.