I have a server running couchdb, and I would like to know what version I am running. I know it is 1.2.0, but I want to know 1.2.0-X. I have looked through some of the source files for this info, but I can't seem to find it. Is there any way I can find this information?
Thanks!
You can just query http://yourserver:5984/ which should return the result.
In case you want to check the status of CouchDB, you can do so using the following command: sudo status couchdb.
CouchDB uses multiple formats and protocols to store, transfer, and process its data. It uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. CouchDB was first released in 2005 and later became an Apache Software Foundation project in 2008.
You can just query http://yourserver:5984/
which should return the result.
Quoting from the API Docs
Request:
GET / HTTP/1.1
Accept: application/json
Host: localhost:5984
Response:
HTTP/1.1 200 OK
Cache-Control: must-revalidate
Content-Length: 179
Content-Type: application/json
Date: Sat, 10 Aug 2013 06:33:33 GMT
Server: CouchDB (Erlang/OTP)
{
"couchdb": "Welcome",
"uuid": "85fb71bf700c17267fef77535820e371",
"vendor": {
"name": "The Apache Software Foundation",
"version": "1.3.1"
},
"version": "1.3.1"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With