couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fli...@apache.org
Subject [couchdb-documentation] 01/01: Make "copy to existing document" capabilities more explicit.
Date Thu, 26 Oct 2017 20:28:33 GMT
This is an automated email from the ASF dual-hosted git repository.

flimzy pushed a commit to branch copy
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 2f5a94d638bca9eb3079eb3980fc9e62033b43c0
Author: Jonathan Hall <flimzy@flimzy.com>
AuthorDate: Thu Oct 26 22:27:55 2017 +0200

    Make "copy to existing document" capabilities more explicit.
---
 src/api/document/common.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/api/document/common.rst b/src/api/document/common.rst
index 521c00e..492bbdd 100644
--- a/src/api/document/common.rst
+++ b/src/api/document/common.rst
@@ -345,7 +345,10 @@
     :param docid: Document ID
     :<header Accept: - :mimetype:`application/json`
                      - :mimetype:`text/plain`
-    :<header Destination: Destination document
+    :<header Destination: Destination document. Must contain the target
+      document ID, and optionally the target document revision, if copying to
+      an existing document.  See :ref:`Copying to an Existing Document
+      <copy_to_existing_document>`.
     :<header If-Match: Source document's revision. Alternative to `rev` query
       parameter
     :<header X-Couch-Full-Commit: Overrides server's
@@ -1170,6 +1173,8 @@ or :header:`If-Match`:
         "rev": "1-917fa2381192822767f010b95b45325b"
     }
 
+.. _copy_to_existing_document:
+
 Copying to an Existing Document
 ===============================
 

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message