Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/api/document/attachments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,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
Expand Down