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)