Get document
GET/documents/:documentId
Retrieves a document's details, i.e., metadata
Request
Path Parameters
Document Identifier
Query Parameters
Site Identifier
Artifact Document 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 [
Array [
]
Array [
Array [
]
]
]
]
Array [
]
Artifact Identifier
Promoted Artifact Identifier
Artifact Category
Whether the document has artifact documents
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, SHA512]
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
Whether the document has artifact documents
Document Content-Type
User who added document
Document size
Document version
Parent Document Identifier
attributes
object[]
List of document attributes
Attribute key
Attribute with string value
Attribute with string values
Attribute with number value
Attribute with number values
Attribute with boolean value
Inserted Timestamp
User who added attribute
Attribute Value Type
Possible values: [BOOLEAN, KEY_ONLY, NUMBER, STRING, PUBLICATION, CLASSIFICATION, COMPOSITE_STRING, RELATIONSHIPS, WATERMARK, ENTITY]
entity
object
Entity identifier
Entity Type identifier
Entity Name
Inserted Timestamp
attributes
object[]
List of Entity Attributes
Attribute key
Attribute with string value
Attribute with string values
Attribute with number value
Attribute with number values
Attribute with boolean value
Attribute Value Type
Possible values: [BOOLEAN, KEY_ONLY, NUMBER, STRING, PUBLICATION, CLASSIFICATION, COMPOSITE_STRING, RELATIONSHIPS, WATERMARK, ENTITY]
entities
object[]
Attribute with entity values
Entity identifier
Entity Type identifier
Entity Name
Inserted Timestamp
attributes
object[]
List of Entity Attributes
Attribute key
Attribute with string value
Attribute with string values
Attribute with number value
Attribute with number values
Attribute with boolean value
Attribute Value Type
Possible values: [BOOLEAN, KEY_ONLY, NUMBER, STRING, PUBLICATION, CLASSIFICATION, COMPOSITE_STRING, RELATIONSHIPS, WATERMARK, ENTITY]
Parent Document Identifier
metadata
object[]
List of document Metadata
Metadata key
Metadata value
Metadata values
{
"artifactId": "string",
"promotedArtifactId": "string",
"artifactCategory": "string",
"hasArtifacts": true,
"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",
"hasArtifacts": true,
"contentType": "string",
"userId": "string",
"contentLength": 0,
"versionId": "string",
"belongsToDocumentId": "string",
"attributes": [
{
"key": "string",
"stringValue": "string",
"stringValues": [
"string"
],
"numberValue": 0,
"numberValues": [
0
],
"booleanValue": true,
"insertedDate": "string",
"userId": "string",
"valueType": "BOOLEAN",
"entity": {
"entityId": "string",
"entityTypeId": "string",
"name": "string",
"insertedDate": "string",
"attributes": [
{
"key": "string",
"stringValue": "string",
"stringValues": [
"string"
],
"numberValue": 0,
"numberValues": [
0
],
"booleanValue": true,
"valueType": "BOOLEAN"
}
]
},
"entities": [
{
"entityId": "string",
"entityTypeId": "string",
"name": "string",
"insertedDate": "string",
"attributes": [
{
"key": "string",
"stringValue": "string",
"stringValues": [
"string"
],
"numberValue": 0,
"numberValues": [
0
],
"booleanValue": true,
"valueType": "BOOLEAN"
}
]
}
]
}
]
}
],
"belongsToDocumentId": "string",
"metadata": [
{
"key": "string",
"value": "string",
"values": [
"string"
]
}
]
}