The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some more or older info on certain topics inside CouchDB.

You need to be added to the ContributorsGroup to edit the wiki. But don't worry! Just email any Mailing List or grab us on IRC and let us know your user name.

A handy list of all the key CouchDB URI templates.

Databases and Documents

To see a listing of databases:

To see some basic information about a database:

To see all a listing of the data documents in a database:

To see a document:

To download a file attachment:

Design Documents and Views

To see a design document:

To query a view.

NOTE: Apparently the structure depends on the version #. In 0.8.1 the above doesn't work, but the below works: -- JohnWarden

To query a temporary ("slow") view (with the custom view function in the body of the request):

Formatting

To format a document through a "show" template:

To format a view through a "list" template:

View Query Syntax

The most common query parameters for accessing views are:

For the full query syntax, see the HTTP_view_API.

URI_templates (last edited 2011-11-23 15:07:56 by JanLehnardt)