Skip to content

http request list clusters

Todd Palino edited this page Jun 2, 2015 · 7 revisions

###Name List Clusters

###Usage This endpoint returns a list of the Kafka clusters that Burrow is configured with. The response is the same regardless of which URL path is used.

###URL path GET /v2/kafka GET /v2/zookeeper

###Parameters None

###Response The response contains a clusters key whose value is a list of cluster names:

{
  "error": false,
  "message": "cluster list returned",
  "clusters": [
    "clustername1",
    "clustername2"
  ]
}

###Possible errors

  • JSON Encoding Error If there is a failure encoding the JSON response, a 500 error will be returned with a JSON response body.
Clone this wiki locally