Version API
Get the Sensu backend and etcd versions
The /version
API endpoint provides HTTP GET access to the Sensu backend and etcd versions for the Sensu instance.
Example
The following example demonstrates a request to the /version
API endpoint, resulting in a JSON map that contains Sensu version data.
curl -X GET \
http://127.0.0.1:8080/version
HTTP/1.1 200 OK
{
"etcd": {
"etcdserver": "3.3.17",
"etcdcluster": "3.3.0"
},
"sensu_backend": "5.x.x#yyyyyyy"
}
API Specification
/version (GET) | |
---|---|
description | Returns the Sensu backend and etcd version for the Sensu instance. |
example url | http://hostname:8080/version |
response type | Map |
response codes |
|
response parameters | Required:
Optional:
|
output |
|