Cluster Controller

get
Authorizations
Responses
200
OK
*/*
get
GET /api/cluster/status HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "isLeader": true,
    "clusterName": "text",
    "port": 1,
    "redisHost": "text",
    "host": "text",
    "redisPort": 1,
    "nodeId": "text"
  }
]
get
Authorizations
Responses
200
OK
*/*
Responseboolean
get
GET /api/cluster/leader HTTP/1.1
Host: inscada.cloud
Accept: */*
true
get
Authorizations
Responses
200
OK
*/*
get
GET /api/cluster/current-node HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "isLeader": true,
  "clusterName": "text",
  "port": 1,
  "redisHost": "text",
  "host": "text",
  "redisPort": 1,
  "nodeId": "text"
}