Get document's versions
GET/documents/:documentId/versions
Get a listing of document content and metadata versions; available as an Add-On Module
Request
Path Parameters
documentId stringrequired
Document Identifier
Query Parameters
siteId string
Site Identifier
limit string
Limit Results
Default value:
10
shareKey string
Share Identifier
next string
Next page of results token
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
next string
Next page of results token
documents
object[]
List of document versions
insertedDate string
Inserted Timestamp
checksum string
Document checksum, changes when document file changes
checksumType ChecksumType (string)
The type of checksum to use for file validation
Possible values: [SHA1
, SHA256
]
contentType string
Document Content-Type
userId string
User who added document
contentLength integer
Document size
versionKey string
Document Version Identifier
s3version string
Document storage version
{
"next": "string",
"documents": [
{
"insertedDate": "string",
"checksum": "string",
"checksumType": "SHA1",
"contentType": "string",
"userId": "string",
"contentLength": 0,
"versionKey": "string",
"s3version": "string"
}
]
}
Loading...