Cluster Controller
Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
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"
}
]Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/cluster/leader HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
trueAccess token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
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