This code powers the public service at https://discovery.etcd.io. The API is documented in the etcd clustering documentation:
https://github.com/coreos/etcd/blob/master/Documentation/clustering.md#public-etcd-discovery-service
You may run the service in a docker container:
docker pull quay.io/coreos/discovery.etcd.io
docker run -d -p 80:8087 quay.io/coreos/discovery.etcd.io
discovery.etcd.io uses devweb for easy development. It is simple to get started:
./devweb
curl --verbose -X PUT localhost:8087/new