The api/cluster/restlist Resource

The api/cluster/restlist resource lists the array of nodes in the cluster network.

For an overview see page eXtremeDB Web Service Resources

With the REST server started (listening on port 8083), the following http request will return a list of the nodes in the cluster network:

 
    http://localhost:8083/api/cluster/restlist
            
     

The cluster array displays the following keys for each node in the cluster network:

 
    {
      "cluster":

      [
        {
          "node_id": 1, # identifier of the node,
          "role" : "node", # 'node' for all nodes,
          "address": "127.0.0.1", # IP address of the node
          "rest_iface": "0.0.0.0", # IP address of the REST interface
          "rest_port": 8082, # Port of the REST interface
          "rest_secure: true # Boolean true if SSL (HTTPS) is used
        {
      ]

    }