Parameters for the postDocument operation.

interface PostDocumentParams {
    batch?: string;
    contentType?: string;
    db: 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.

document: Buffer | ReadableStream | Document

HTTP request body for Document operations.

headers?: OutgoingHttpHeaders

Generated using TypeDoc