Skip to main content
Skip table of contents

GetCluster

Getting information about the cluster and its status

GET /api/cluster/
Body
tokenrequired
string
Authorization token for API requests. See Mediaserver/Web API/Authorization/CreateApiToken
Response
200
Returns a JSON object with information about the cluster
JSON
{
    "node_host": "host-name-1",
    "node_ip": "127.0.0.1",
    "cluster_enable": true,
    "node_id": 101,
    "controller": "https://host-name-1/api/v1/mediaserver/callback",
    "cluster_id": 6
}
bool
cluster_enableWhether the cluster feature is enabled or disabled
int
cluster_idCluster ID
int
node_ipID of the current node
url
controllerEndpoint to which media server events will be sent
string
node_hostNode hostname
int
node_idNode ID
403
Authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken.
Example
JSON
curl -k --location --request GET 'https://localhost:8080/api/cluster/?token=string'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.