Cluster Controller
get
Authorizations
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
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
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/cluster/leader HTTP/1.1
Host: inscada.cloud
Accept: */*
true
get
Authorizations
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
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"
}