Skip to main content
Version: 8.9

Type Alias: CreateDocumentsData

type CreateDocumentsData = object;

Properties

body

body: object;

files

files: (Blob | File)[];

The documents to upload.

metadataList?

optional metadataList?: 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?

optional path?: never;

query?

optional query?: object;

storeId?

optional storeId?: 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

url: "/documents/batch";