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
| |||||||||
bool | cluster_enable | Whether the cluster feature is enabled or disabled | |||||||
int | cluster_id | Cluster ID | |||||||
int | node_ip | ID of the current node | |||||||
url | controller | Endpoint to which media server events will be sent | |||||||
string | node_host | Node hostname | |||||||
int | node_id | Node ID | |||||||
403 | Authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken. |
Example | |||||||||
JSON
|