GET /v3/clusters/{string: cluster_id}

Retrieves metadata about a specific cluster.

Parameters

Parameters Description
cluster_id (string) Cluster’s id.

Syntax

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

Request Example

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

Response Example

{
  "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"
    }
}