You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2018/04/13 05:41:12 UTC

[Couchdb Wiki] Update of "HttpGetRoot" by JoanTouzet

Dear wiki user,

You have subscribed to a wiki page "Couchdb Wiki" for change notification.

The page "HttpGetRoot" has been deleted by JoanTouzet:

https://wiki.apache.org/couchdb/HttpGetRoot?action=diff&rev1=5&rev2=6

- <<Include(EditTheWiki)>>
  
- = HTTP GET root =
- 
- ||'''Method'''||<-2>GET||
- ||'''Path'''||<-2>/||
- ||'''Query args'''||<-2>None||
- ||'''Request body'''||<-2>None||
- ||'''Response body'''||<-2>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"}}
- }}}
-