Skip to main content

Get document

GET 

/documents/:documentId

Retrieves a document's details, i.e., metadata

Request

Path Parameters

    documentId stringrequired

    Document Identifier

Query Parameters

    siteId string

    Site Identifier

    shareKey string

    Share Identifier

Responses

200 OK

Response Headers

  • Access-Control-Allow-Origin

    string

  • Access-Control-Allow-Methods

    string

  • Access-Control-Allow-Headers

    string

Schema

    siteId string

    Site Identifier

    path string

    Path or Name of document

    width string

    Document Content Width property

    height string

    Document Content Height property

    deepLinkPath string

    Path or Name of deep link

    insertedDate string

    Inserted Timestamp

    lastModifiedDate string

    Last Modified 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]

    documentId stringrequired

    Document Identifier

    contentType string

    Document Content-Type

    userId string

    User who added document

    contentLength integer

    Document size

    versionId string

    Document version

    documents

    object[]

    List of child documents

  • Array [

  • path string

    Path or Name of document

    width string

    Document Content Width property

    height string

    Document Content Height property

    deepLinkPath string

    Path or Name of deep link

    insertedDate string

    Inserted Timestamp

    lastModifiedDate string

    Last Modified Timestamp

    checksum string

    Document checksum, changes when document file changes

    documentId stringrequired

    Document Identifier

    contentType string

    Document Content-Type

    userId string

    User who added document

    contentLength integer

    Document size

    versionId string

    Document version

    belongsToDocumentId string

    Parent Document Identifier

  • ]

  • belongsToDocumentId string

    Parent Document Identifier

    metadata

    object[]

    List of document Metadata

  • Array [

  • key string

    Metadata key

    value string

    Metadata value

    values string[]

    Metadata values

  • ]

Loading...