Chapter 6. CouchDB API Server Document Methods

Table of Contents

6.1. POST /db
6.1.1. Specifying the Document ID
6.1.2. Batch Mode Writes
6.1.3. Including Attachments
6.2. GET /db/doc
6.2.1. Attachments
6.2.2. Getting a List of Revisions
6.2.3. Obtaining an Extended Revision History
6.2.4. Obtaining a Specific Revision
6.3. HEAD /db/doc
6.4. PUT /db/doc
6.4.1. Updating an Existing Document
6.5. DELETE /db/doc
6.6. COPY /db/doc
6.6.1. Copying a Document
6.6.2. Copying from a Specific Revision
6.6.3. Copying to an Existing Document
6.7. GET /db/doc/attachment
6.8. PUT /db/doc/attachment
6.8.1. Updating an Existing Attachment
6.9. DELETE /db/doc/attachment

The CouchDB API Server Document methods detail how to create, read, update and delete documents within a database.

A list of the available methods and URL paths are provided below:

Table 6.1. Document API Calls