Skip to content

Cluster Info

Rishabh edited this page Apr 8, 2015 · 1 revision

Foxtrot provides API's for fetching cluster related information.

Fetch Cluster Members list

Endpoint: /foxtrot/v1/cluster/members

HTTP Method: GET

Content-type: application/json

Returns: HTTP 200/OK with list of currently active hosts in the cluster as seen by the host being queried.

###Sample Response

{
    "members": [
        {
            "host": "host1",
            "port": 17000
        },
        {
            "host": "host2",
            "port": 17000
        },
        {
            "host": "host3",
            "port": 17000
        }
    ]
}