Server

Der CouchDB Server gibt als Standard eine Meldung und Versionsnummer zurück.

curl GET http://127.0.0.1:5984/
{"couchdb":"Welcome","version":"1.0.1"}
curl -vX GET http://127.0.0.1:5984/_active_tasks

Statistiken abfragen

curl -vX GET http://127.0.0.1:5984/_stats
curl -vX GET http://127.0.0.1:5984/_stats/MODUL
curl -vX GET http://127.0.0.1:5984/_stats/MODUL/KEY

curl -vX GET http://127.0.0.1:5984/_stats/couchdb/open_databases
curl -vX GET http://127.0.0.1:5984/_stats/httpd/requests

Log Einträge abfragen

curl -vX GET http://127.0.0.1:5984/_log

Konfiguration abfragen

curl -vX GET http://127.0.0.1:5984/_config
curl -vX GET http://127.0.0.1:5984/_config/SECTION
curl -vX GET http://127.0.0.1:5984/_config/SECTION/KEY

curl -vX GET http://127.0.0.1:5984/_config/httpd/port

Server neustarten

curl -vX POST http://127.0.0.1:5984/_restart

Futon

curl -vX POST http://127.0.0.1:5984/_utils

UUIDs

curl GET http://127.0.0.1:5984/_uuids
curl GET http://127.0.0.1:5984/_uuids?count=quantity

Comments are closed.