Topic Tree
Available API Paths
- /api/projects/{projectId}/brokers/{brokerId}/topictree
 - /api/projects/{projectId}/brokers/{brokerId}/topictree/ttl
 
/api/projects/{projectId}/brokers/{brokerId}/topictree
The following methods are available for this path:
GET Viewer
Get current topic-tree of specified broker
Parameters
| Name | Location | Type | Description | 
|---|---|---|---|
| projectId | path | string | A project id | 
| brokerId | path | string | A broker id | 
| offset | query | integer | Number of topics to skip. Set to 0 to start at the beginning. | 
| count | query | integer | Number of topics which should be returned. Set -1 for all entries. | 
Responses
| Status | Description | Response Content or Scheme | 
| 200 | The current topic tree. |  | 
| 401 | Unauthorized request error |  | 
| 403 | Request is not allowed error |  | 
| 404 | Resource is not found error |  | 
| 405 | Method not supported for this resource |  | 
| 500 | Internal server error |  | 
/api/projects/{projectId}/brokers/{brokerId}/topictree/ttl
The following methods are available for this path:
GET Viewer
Get current topic TTL of specified broker
Parameters
| Name | Location | Type | Description | 
|---|---|---|---|
| projectId | path | string | A project id | 
| brokerId | path | string | A broker id | 
Responses
| Status | Description | Response Content or Scheme | 
| 200 | The current topic TTL in seconds. |  | 
| 401 | Unauthorized request error |  | 
| 403 | Request is not allowed error |  | 
| 404 | Resource is not found error |  | 
| 405 | Method not supported for this resource |  | 
| 500 | Internal server error |  | 
PUT Viewer
Set new topic TTL of specified broker
Parameters
| Name | Location | Type | Description | 
|---|---|---|---|
| projectId | path | string | A project id | 
| brokerId | path | string | A broker id | 
Request Body
| Name | Location | Type | Description | 
| body | body | object | Properties: | 
Responses
| Status | Description | Response Content or Scheme | 
| 204 | ||
| 401 | Unauthorized request error |  | 
| 403 | Request is not allowed error |  | 
| 404 | Resource is not found error |  | 
| 405 | Method not supported for this resource |  | 
| 500 | Internal server error |  |