Get Document
A document and every version of it, in index order. Each version has its version_id, index (its position, counted from 0), label (v1, v2, v2(a) for competing drafts: the label the user names versions by), name, author, description, parents, and files: clean, the document as of that version, and, after the first, comparison, its redline against the version before it. A comparison of two versions is that redline when one follows the other; any other pair is a POST /v1/compare of the two.
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}
- AuthHTTP bearer
Path parameters
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.
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.