11.3. Databases
The Database endpoint provides an interface to an entire database with inCouchDB. These are database-level, rather than document-level requests.
For all these requests, the database name within the URL pathshould be the database name that you wish to perform the operation on.For example, to obtain the meta information for the databaserecipes
, 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.
- 11.3.1.
/db
- 11.3.2.
/db/_all_docs
- 11.3.3.
/db/_design_docs
- 11.3.4.
/db/_bulk_get
- 11.3.5.
/db/_bulk_docs
- 11.3.6.
/db/_find
- 11.3.7.
/db/_index
- 11.3.8.
/db/_explain
- 11.3.9.
/db/_changes
- 11.3.10.
/db/_compact
- 11.3.11.
/db/_compact/design-doc
- 11.3.12.
/db/_ensure_full_commit
- 11.3.13.
/db/_view_cleanup
- 11.3.14.
/db/_security
- 11.3.15.
/db/_purge
- 11.3.16.
/db/_purged_infos_limit
- 11.3.17.
/db/_missing_revs
- 11.3.18.
/db/_revs_diff
- 11.3.19.
/db/_revs_limit
原文: http://docs.couchdb.org/en/stable/api/database/index.html