deconst / content-service

An API for storing, indexing and retrieving documentation
MIT License
4 stars 9 forks source link

Report the service name and current commit in `/version`. #9

Closed smashwilson closed 9 years ago

smashwilson commented 9 years ago

Part of deconst/deconst-docs#29.

$ curl -s http://docker:9000/version | python -m json.tool
{
    "commit": "f1b9e69",
    "service": "content-service",
    "version": "1.0.0"
}