Differences between revisions 4 and 5
Revision 4 as of 2013-05-15 00:14:04
Size: 715
Editor: PaulOkstad
Comment:
Revision 5 as of 2013-05-15 00:15:07
Size: 823
Editor: PaulOkstad
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
Starting in version 1.3.0, a server UUID is also returned. This UUID is generated once for every server.

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 root

Method

GET

Path

/

Query args

None

Request body

None

Response body

JSON object containing MOTD and CouchDB server version

Description

Returns MOTD and version. The MOTD can be specified in CouchDB configuration files.

Starting in version 1.3.0, a server UUID is also returned. This UUID is generated once for every server.

Example

GET / HTTP/1.1

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

# Response from version 0.11.0:
{"couchdb":"Welcome","version":"0.11.0"}
# Response from version 1.3.0:
{"couchdb":"Welcome","uuid":"1234567890abcdedfghijklmnopq","version":"1.3.0","vendor":{"name":"The Apache Software Foundation","version":"1.3.0"}}

HttpGetRoot (last edited 2013-05-15 00:15:07 by PaulOkstad)