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 2017/11/19 12:44:18 UTC
[couchdb-documentation] branch putAtt created (now 60352ec)
This is an automated email from the ASF dual-hosted git repository.
flimzy pushed a change to branch putAtt
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.
at 60352ec Mention X-Couch-Full-Commit header for PUT ..{att} endpoint
This branch includes the following new commits:
new 60352ec Mention X-Couch-Full-Commit header for PUT ..{att} endpoint
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].
[couchdb-documentation] 01/01: Mention X-Couch-Full-Commit header
for PUT ..{att} endpoint
Posted by fl...@apache.org.
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 <fl...@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" <co...@couchdb.apache.org>.