mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Also changes a few references to settle consistently on "members API" instead of "member API" or "member APIs".
29 lines
549 B
Markdown
29 lines
549 B
Markdown
# Miscellaneous APIs
|
|
|
|
* [Getting the etcd version](#getting-the-etcd-version)
|
|
* [Checking health of an etcd member node](#checking-health-of-an-etcd-member-node)
|
|
|
|
## Getting the etcd version
|
|
|
|
The etcd version of a specific instance can be obtained from the `/version` endpoint.
|
|
|
|
```sh
|
|
curl -L http://127.0.0.1:2379/version
|
|
```
|
|
|
|
```
|
|
etcd 2.0.12
|
|
```
|
|
|
|
## Checking health of an etcd member node
|
|
|
|
etcd provides a `/health` endpoint to verify the health of a particular member.
|
|
|
|
```sh
|
|
curl http://10.0.0.10:2379/health
|
|
```
|
|
|
|
```json
|
|
{"health": "true"}
|
|
```
|