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: Mention X-Couch-Full-Commit header for PUT ..{att} endpoint
Date Sun, 19 Nov 2017 12:44:19 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 60352ec9d78eb00c86dbe2b364162c19f5026c58
Author: Jonathan Hall <flimzy@flimzy.com>
AuthorDate: Sun Nov 19 13:43:59 2017 +0100

    Mention X-Couch-Full-Commit header for PUT ..{att} endpoint
---
 src/api/document/attachments.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/api/document/attachments.rst b/src/api/document/attachments.rst
index 517de7d..f5bed65 100644
--- a/src/api/document/attachments.rst
+++ b/src/api/document/attachments.rst
@@ -125,12 +125,19 @@
     :param db: Database name
     :param docid: Document ID
     :param attname: Attachment name
+
     :<header Content-Type: Attachment MIME type. *Required*
     :<header If-Match: Document revision. Alternative to `rev` query parameter
+    :<header X-Couch-Full-Commit: Overrides server's
+      :config:option:`commit policy <couchdb/delayed_commits>`. Possible values
+      are: ``false`` and ``true``. *Optional*
+
     :query string rev: Document revision. *Optional*
+
     :>json string id: Document ID
     :>json boolean ok: Operation status
     :>json string rev: Revision MVCC token
+
     :code 200: Attachment successfully removed
     :code 202: Request was accepted, but changes are not yet stored on disk
     :code 400: Invalid request body or parameters

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

Mime
View raw message