9.3. Databases — Apache CouchDB 1.7 Documentation

# 9.3. Databases

The Database endpoint provides an interface to an entire database with in CouchDB. These are database-level, rather than document-level requests.

For all these requests, 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.

- 9.3.1. `/db`
  - Specifying the Document ID
  - Batch Mode Writes
- 9.3.2. `/db/_all_docs`
- 9.3.3. `/db/_bulk_docs`
  - Inserting Documents in Bulk
  - Updating Documents in Bulk
  - Bulk Documents Transaction Semantics
  - Bulk Document Validation and Conflict Errors
- 9.3.4. `/db/_changes`
  - Changes Feeds
    - Polling
    - Long Polling
    - Continuous
    - Event Source
  - Filtering
    - _doc_ids
    - _design
    - _view
- 9.3.5. `/db/_compact`
- 9.3.6. `/db/_compact/design-doc`
- 9.3.7. `/db/_ensure_full_commit`
- 9.3.8. `/db/_view_cleanup`
- 9.3.9. `/db/_security`
- 9.3.10. `/db/_temp_view`
- 9.3.11. `/db/_purge`
  - Updating Indexes
- 9.3.12. `/db/_missing_revs`
- 9.3.13. `/db/_revs_diff`
- 9.3.14. `/db/_revs_limit`