Skip to main content
Version: Next

Topic Tree

Available API Paths


/api/projects/{projectId}/brokers/{brokerId}/topictree

The following methods are available for this path:

GET

Get current topic-tree of specified broker

Parameters

NameLocationTypeDescription
projectIdpathstringA project id
brokerIdpathstringA broker id
offsetqueryintegerNumber of topics to skip. Set to 0 to start at the beginning.
countqueryintegerNumber of topics which should be returned. Set -1 for all entries.
Responses

Status Description Response Content or Scheme
200 The current topic tree.
{
"publishTopics": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "Count of publish topics."
},
"topics": {
"type": "array",
"description": "Publish topics",
"items": {
"type": "string"
}
}
}
},
"subscribeTopics": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "Count of publish topics."
},
"topics": {
"type": "array",
"description": "Publish topics",
"items": {
"type": "string"
}
}
}
}
}
401 Unauthorized request error
{
"message": {
"type": "string",
"description": "A descriptive error message"
},
"code": {
"type": "string",
"description": "A textual error code"
},
"status": {
"type": "integer",
"description": "A corresponding HTML status code"
},
"info": {
"type": "object",
"description": "An optional info object containing error dependent information"
}
}
403 Request is not allowed error
{
"message": {
"type": "string",
"description": "A descriptive error message"
},
"code": {
"type": "string",
"description": "A textual error code"
},
"status": {
"type": "integer",
"description": "A corresponding HTML status code"
},
"info": {
"type": "object",
"description": "An optional info object containing error dependent information"
}
}
404 Resource is not found error
{
"message": {
"type": "string",
"description": "A descriptive error message"
},
"code": {
"type": "string",
"description": "A textual error code"
},
"status": {
"type": "integer",
"description": "A corresponding HTML status code"
},
"info": {
"type": "object",
"description": "An optional info object containing error dependent information"
}
}
405 Method not supported for this resource
{
"message": {
"type": "string",
"description": "A descriptive error message"
},
"code": {
"type": "string",
"description": "A textual error code"
},
"status": {
"type": "integer",
"description": "A corresponding HTML status code"
},
"info": {
"type": "object",
"description": "An optional info object containing error dependent information"
}
}
500 Internal server error
{
"message": {
"type": "string",
"description": "A descriptive error message"
},
"code": {
"type": "string",
"description": "A textual error code"
},
"status": {
"type": "integer",
"description": "A corresponding HTML status code"
},
"info": {
"type": "object",
"description": "An optional info object containing error dependent information"
}
}