Healthapi
HealthApi
| Method | HTTP request | Description |
|---|---|---|
| healthHandler | GET /v1/health | Get cluster and node health status |
healthHandler
Object healthHandler(prr, cii, apr)
Get cluster and node health status
Example: Get health
curl -i -L -X GET \
'AIS_ENDPOINT/v1/health?prr=<value>&cii=<value>&apr=<value>'
Parameters
| Name | Type | Description |
|---|---|---|
| prr | Boolean | true: check whether primary is ready to start rebalancing cluster |
| cii | Boolean | true: /Health to return `cos.NodeStateInfo` including cluster metadata versions and state flags |
| apr | Boolean | true: the caller is directing health request to primary |
Return type
Object
HTTP request headers
- Content-Type: Not defined
- Accept: /