ListBrokers
Returns information about all brokers in the cluster.
POST
/redpanda.core.admin.v2.BrokerService/ListBrokers
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.BrokerService/ListBrokers' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0"
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{}
Response examples (200)
{
"brokers": [
{
"adminServer": {
"routes": [
{
"httpRoute": "string",
"name": "string"
}
]
},
"buildInfo": {
"buildSha": "string",
"version": "string"
},
"nodeId": 42
}
]
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}