@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias CreateDocumentsData

    type CreateDocumentsData = {
        body: { files: (Blob | File)[]; metadataList?: DocumentMetadata[] };
        path?: never;
        query?: { storeId?: string };
        url: "/documents/batch";
    }
    Index

    Properties

    Properties

    body: { files: (Blob | File)[]; metadataList?: DocumentMetadata[] }

    Type Declaration

    • files: (Blob | File)[]

      The documents to upload.

    • OptionalmetadataList?: DocumentMetadata[]

      Optional JSON array of metadata object whose index aligns with each file entry. The metadata array must have the same length as the files array.

    path?: never
    query?: { storeId?: string }

    Type Declaration

    • OptionalstoreId?: string

      The ID of the document store to upload the documents to. Currently, only a single document store is supported per cluster. However, this attribute is included to allow for potential future support of multiple document stores.

    url: "/documents/batch"