You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fl...@apache.org on 2019/07/06 11:43:55 UTC
[couchdb-documentation] 03/03: Add note calling attention to the
new fully-qualified URL requirement
This is an automated email from the ASF dual-hosted git repository.
flimzy pushed a commit to branch localRepl
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit ce56a5f1911485d53fa1531663ee08c755f1ec86
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Sat Jul 6 13:43:16 2019 +0200
Add note calling attention to the new fully-qualified URL requirement
---
src/api/server/common.rst | 4 ++++
src/intro/api.rst | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/src/api/server/common.rst b/src/api/server/common.rst
index 033cc1d..0f29497 100644
--- a/src/api/server/common.rst
+++ b/src/api/server/common.rst
@@ -652,6 +652,10 @@
:json string start_time: Date/Time replication operation started in
:rfc:`2822` format
+.. note::
+ As of CouchDB 2.0.0, fully qualified URLs are required for both the
+ replication `source` and `target` parameters.
+
**Request**
.. code-block:: http
diff --git a/src/intro/api.rst b/src/intro/api.rst
index 7d47720..04aaa76 100644
--- a/src/intro/api.rst
+++ b/src/intro/api.rst
@@ -609,6 +609,10 @@ Now we can use the database `albums-replica` as a replication target::
-H "Content-Type: application/json"
.. note::
+ As of CouchDB 2.0.0, fully qualified URLs are required for both the
+ replication `source` and `target` parameters.
+
+.. note::
CouchDB supports the option ``"create_target":true`` placed in the JSON
POSTed to the :ref:`_replicate <api/server/replicate>` URL. It implicitly
creates the target database if it doesn't exist.