Interface PutReplicationDocumentParams

Parameters for the putReplicationDocument operation.

interface PutReplicationDocumentParams {
    batch?: string;
    docId: string;
    headers?: OutgoingHttpHeaders;
    ifMatch?: string;
    newEdits?: boolean;
    replicationDocument: ReplicationDocument;
    rev?: string;
}

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.

docId: string

Path parameter to specify the document ID.

headers?: OutgoingHttpHeaders
ifMatch?: string

Header parameter for a conditional HTTP request matching an ETag.

newEdits?: boolean

Query parameter to specify whether to prevent insertion of conflicting document revisions. If false, a well-formed _rev must be included in the document. False is used by the replicator to insert documents into the target database even if that leads to the creation of conflicts.

replicationDocument: ReplicationDocument

HTTP request body for replication operations.

rev?: string

Query parameter to specify a document revision.