Get document
GET/documents/:documentId
Retrieves a document's details, i.e., metadata
Request
Path Parameters
Document Identifier
Query Parameters
Site Identifier
Share Identifier
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 [
]
Array [
]
Site Identifier
Path or Name of document
Document Content Width property
Document Content Height property
Path or Name of deep link
Inserted Timestamp
Last Modified Timestamp
Document checksum, changes when document file changes
The type of checksum to use for file validation
Possible values: [SHA1
, SHA256
]
Document Identifier
Document Content-Type
User who added document
Document size
Document version
documents
object[]
List of child documents
Path or Name of document
Document Content Width property
Document Content Height property
Path or Name of deep link
Inserted Timestamp
Last Modified Timestamp
Document checksum, changes when document file changes
Document Identifier
Document Content-Type
User who added document
Document size
Document version
Parent Document Identifier
Parent Document Identifier
metadata
object[]
List of document Metadata
Metadata key
Metadata value
Metadata values
{
"siteId": "string",
"path": "string",
"width": "string",
"height": "string",
"deepLinkPath": "string",
"insertedDate": "string",
"lastModifiedDate": "string",
"checksum": "string",
"checksumType": "SHA1",
"documentId": "string",
"contentType": "string",
"userId": "string",
"contentLength": 0,
"versionId": "string",
"documents": [
{
"path": "string",
"width": "string",
"height": "string",
"deepLinkPath": "string",
"insertedDate": "string",
"lastModifiedDate": "string",
"checksum": "string",
"documentId": "string",
"contentType": "string",
"userId": "string",
"contentLength": 0,
"versionId": "string",
"belongsToDocumentId": "string"
}
],
"belongsToDocumentId": "string",
"metadata": [
{
"key": "string",
"value": "string",
"values": [
"string"
]
}
]
}