GET /v3/clusters

Retrieves a list of metadata about the cluster.

Description

Retrieves one cluster only. Always retrieves the current HPE Ezmeral Data Fabric cluster.

Syntax

http://<host>:8082/v3/clusters

Request Example

curl -X GET -H "Content-Type: application/json" http://localhost:8082/v3/clusters

Response Example

{
  "kind":"KafkaClusterList",
  "metadata":
    {
      "self":"http://node1.cluster.com:8082/v3/clusters",
      "next":null
    },
  "data":
    [
      {
        "kind":"KafkaCluster",
        "metadata":
          {
            "self":"http://node1.cluster.com:8082/v3/clusters/682798077049224619",
            "resource_name":"crn:///kafka=682798077049224619"
          },
        "cluster_id":"682798077049224619",
        "controller":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/brokers/0"
          },
        "acls":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/acls"
          },
        "brokers":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/brokers"
          },
        "broker_configs":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/broker-configs"
          },
        "consumer_groups":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/consumer-groups"
          },
        "topics":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/topics"
          },
        "partition_reassignments":
          {
            "related":"http://node1.cluster.com:8082/v3/clusters/682798077049224619/topics/-/partitions/-/reassignment"
          }
      }
    ]
}