documents

List Documents

List the Documents in the user's account, newest first: each document's history, with its document_id, name, version_count and latest_version. Use it only for a document the user has no file of and that no earlier result names ("the Mission draft", "my NDA"); then GET /v1/documents/{document_id} lists its versions. A name matching one of the user's files (in their folder, attached or linked) means that file: upload it with POST /v1/files and work on it as given, without looking for the name here first, unless the user asks for the stored versions. A page holds up to limit Documents; pass next_cursor to read the next one.

get/v1/documents

Request

  • Base URL
    https://api.versionstory.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.versionstory.com/v1/documents
  • Auth
    HTTP bearer

Query parameters

limitinteger

How many Documents to return.

cursorstring nullable

Opaque continuation cursor from a prior page (its next_cursor).

Headers

X-Customer-Idstring nullable

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

next_cursorstring nullable

Send it as cursor for the next page; absent on the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.