10.3. Databases — Apache CouchDB 1.6 Documentation

### Navigation

- API Reference
- Config Reference |
- next |
- previous |
- Apache CouchDB 1.6 Documentation »
- 10. API Reference »

# 10.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.

- 10.3.1. `/db`
  - Specifying the Document ID
  - Batch Mode Writes
- 10.3.2. `/db/_all_docs`
- 10.3.3. `/db/_bulk_docs`
  - Inserting Documents in Bulk
  - Updating Documents in Bulk
  - Bulk Documents Transaction Semantics
  - Bulk Document Validation and Conflict Errors
- 10.3.4. `/db/_changes`
  - Changes Feeds
    - Polling
    - Long Polling
    - Continuous
    - Event Source
  - Filtering
    - _doc_ids
    - _design
    - _view
- 10.3.5. `/db/_compact`
- 10.3.6. `/db/_compact/design-doc`
- 10.3.7. `/db/_ensure_full_commit`
- 10.3.8. `/db/_view_cleanup`
- 10.3.9. `/db/_security`
- 10.3.10. `/db/_temp_view`
- 10.3.11. `/db/_purge`
  - Updating Indexes
- 10.3.12. `/db/_missing_revs`
- 10.3.13. `/db/_revs_diff`
- 10.3.14. `/db/_revs_limit`

### Navigation

- API Reference
- Config Reference |
- next |
- previous |
- Apache CouchDB 1.6 Documentation »
- 10. API Reference »