Parameters for the putLocalDocument operation.

interface PutLocalDocumentParams {
    batch?: string;
    contentType?: string;
    db: string;
    docId: string;
    document: Buffer | ReadableStream | Document;
    headers?: OutgoingHttpHeaders;
}

Properties

batch?: string

Query parameter to specify whether to store in batch mode. The server will respond with a HTTP 202 Accepted response code immediately.

contentType?: string

The type of the input.

db: string

Path parameter to specify the database name.

docId: string

Path parameter to specify the document ID.

document: Buffer | ReadableStream | Document

HTTP request body for Document operations.

headers?: OutgoingHttpHeaders

Generated using TypeDoc