This is an automated email from the ASF dual-hosted git repository.
flimzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 9107247 Make "copy to existing document" capabilities more explicit.
(#187)
9107247 is described below
commit 9107247facde110a6044b205ec59eea339e66fd6
Author: Jonathan Hall <[email protected]>
AuthorDate: Fri Oct 27 13:42:38 2017 +0200
Make "copy to existing document" capabilities more explicit. (#187)
---
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
['"[email protected]" <[email protected]>'].