Table of Contents
GET /db
PUT /db
DELETE /db
GET /db/_changes
POST /db/_compact
POST /db/_compact/design-doc
POST /db/_view_cleanup
POST /db/_ensure_full_commit
POST /db/_bulk_docs
POST /db/_temp_view
POST /db/_purge
GET /db/_all_docs
POST /db/_all_docs
POST /db/_missing_revs
POST /db/_revs_diff
GET /db/_security
PUT /db/_security
GET /db/_revs_limit
PUT /db/_revs_limit
The Database methods provide an interface to an entire database withing CouchDB. These are database, rather than document, level requests.
A list of the available methods and URL paths are provided below:
Table 5.1. Database API Calls
For all the database methods, the database name within the URL path
should be the database name that you wish to perform the operation
on. For example, to obtain the meta information for the database
recipes
, you would use the HTTP request:
GET /recipes
For clarity, the form below is used in the URL paths:
GET /db
Where db
is the name of any database.