All documents have at least one, and perhaps many, document versions. Each version of a document has its own unique Truestamp ID. This endpoint retrieves all versions for the document identified by the Truestamp ID. The response will be a JSON
Object
with a data
property containing an Array
of one or more document versions. Returned document versions can be filtered by providing a start
or end
time parameter.
The ISO 8601
timestamps provided for start
and end
can reflect precisions from year, all the way down to milliseconds. e.g. 2021-02-04
and 2021-02-04T16:41:37.715
are valid timestamps for filtering.
When versions are filtered by start
or end
time the versions returned are those that were active
at that time, and not those that were committed
to the ledger during that time range.
The values provided for the start
and end
parameters must both represent times in the past, and the start
value cannot be greater than the end
value.
By default the last 90
days of versions of a document will be returned.