We have a new wiki. The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for as long as there are pages left.

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.

HTTP GET _all_dbs

Method

GET

Path

/_all_dbs

Query args

None

Request body

None

Response body

JSON array containing a list of all databases on server

Description

Returns a list of databases on this server. The returned database names are unescaped, and may contain characters that need to be properly escaped to be used as the database part in an URL. Most notably, databases in subdirectories contain one or more slashes in their names, and these must be escaped as %2F when used in URLs.

Example

GET /_all_dbs HTTP/1.1

HTTP/1.1 200 OK
Cache-Control: must-revalidate

["foo","bar","baz"]

HttpGetAllDbs (last edited 2011-11-23 15:06:42 by JanLehnardt)