GetNodes
Getting information about the nodes associated with the current node (secondary nodes) and their status
Body | |||||||||
tokenrequired | string | Authorization token for API requests. See Mediaserver/Web API/Authorization/CreateApiToken |
Response | |||||||||
200 | Returns a JSON array of objects with information about the nodes | ||||||||
JSON
| |||||||||
int | node_id | Current node ID | |||||||
int | cluster_id | Current cluster ID | |||||||
string | nodes.host | Node host name | |||||||
IP4 | nodes.ip | Node IP address | |||||||
enum | nodes.status | Node status undefined - The status is undefined. No message about the node status has been received yet. | |||||||
timestamp | nodes.ltime | Time of the last node status check | |||||||
int | nodes.id | Node ID | |||||||
403 | Authorization error. Incorrect or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken |
Example | |||||||||
JSON
|