Cluster Controller

get
Authorizations
Responses
200

OK

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

OK

*/*
Responseboolean
get
/api/cluster/leader
GET /api/cluster/leader HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
true
get
Authorizations
Responses
200

OK

*/*
get
/api/cluster/current-node
GET /api/cluster/current-node HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
  "isLeader": true,
  "clusterName": "text",
  "port": 1,
  "redisHost": "text",
  "host": "text",
  "redisPort": 1,
  "nodeId": "text"
}

Last updated