Skip to main content

Get Documents listing

GET 

/documents

Returns a list of the most recent documents added, ordered by inserted, descending

Request

Query Parameters

    siteId string

    Site Identifier

    actionStatus string

    Possible values: [FAILED, IN_QUEUE, PENDING, RUNNING, SKIPPED, FAILED_RETRY]

    Fetch documents with an action status

    syncStatus string

    Possible values: [FULLTEXT_METADATA_FAILED, FULLTEXT_CONTENT_FAILED]

    Fetch documents with an sync status

    deleted boolean

    Fetch soft deleted documents

    date string

    Fetch documents inserted on a certain date (yyyy-MM-dd)

    tz string

    UTC offset to apply to date parameter (IE: -0600)

    next string

    Next page of results token

    previous string

    Previous page of results token

    limit string

    Limit Results

    Default value: 10

Responses

200 OK

Response Headers

  • Access-Control-Allow-Origin

    string

  • Access-Control-Allow-Methods

    string

  • Access-Control-Allow-Headers

    string

Schema

    next string

    Next page of results token

    previous string

    Previous page of results token

    documents

    object[]

    List of documents

  • Array [

  • 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 string

    Document Identifier

    contentType string

    Document Content-Type

    userId string

    User who added document

    contentLength integer

    Document size

    version string

    Document version

    versionKey string

    Document Version Identifier

    s3version string

    Document storage version

    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...