Skip to content
Permalink
Browse files
Document create_target_params, closes #232 (#634)
  • Loading branch information
wohali committed Mar 29, 2021
1 parent d95508d commit c8b42651b379654f30b7b662551d34dbb79739b3
Showing 2 changed files with 6 additions and 3 deletions.
@@ -597,6 +597,9 @@
:<json boolean continuous: Configure the replication to be continuous
:<json boolean create_target: Creates the target database.
Required administrator's privileges on target server.
:<json object create_target_params: An object that contains parameters
to be used when creating the target database. Can include the
standard ``q`` and ``n`` parameters.
:<json array doc_ids: Array of document IDs to be synchronized
:<json string filter: The name of a :ref:`filter function <filterfun>`.
:<json string source_proxy: Address of a proxy server through which
@@ -31,9 +31,9 @@ documents added to it will trigger replications. Create (``PUT`` or
``POST``) a document to start replication. ``DELETE`` a replication
document to cancel an ongoing replication.

These documents have exactly the same content as the JSON objects we
used to ``POST`` to ``_replicate`` (fields ``source``, ``target``,
``create_target``, ``continuous``, ``doc_ids``, ``filter``,
These documents have exactly the same content as the JSON objects we used to
``POST`` to ``_replicate`` (fields ``source``, ``target``, ``create_target``,
``create_target_params``, ``continuous``, ``doc_ids``, ``filter``,
``query_params``, ``use_checkpoints``, ``checkpoint_interval``).

Replication documents can have a user defined ``_id`` (handy for finding

0 comments on commit c8b4265

Please sign in to comment.