Streams
Available API Paths
- /api/projects/{projectId}/brokers/{brokerId}/streams
 - /api/projects/{projectId}/brokers/{brokerId}/streams/messages
 - /api/projects/{projectId}/brokers/{brokerId}/streams/replay
 
/api/projects/{projectId}/brokers/{brokerId}/streams
The following methods are available for this path:
GET Viewer
Get a list of streams currently registered to 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 | A list of defined streams. |  | 
| 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 |  | 
POST Viewer
Create a new stream for specified project 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 |  | 
PUT Viewer
Update broker stream
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 |  | 
DELETE Viewer
Delete specified broker stream
Parameters
| Name | Location | Type | Description | 
|---|---|---|---|
| projectId | path | string | A project id | 
| brokerId | path | string | A broker id | 
| streamname | query | string | A valid stream name. URI encoded if necessary. | 
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 |  | 
/api/projects/{projectId}/brokers/{brokerId}/streams/messages
The following methods are available for this path:
DELETE Viewer
Delete all messages of specified broker stream.
Parameters
| Name | Location | Type | Description | 
|---|---|---|---|
| projectId | path | string | A project id | 
| brokerId | path | string | A broker id | 
| streamname | query | string | A valid stream name. URI encoded if necessary. | 
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 |  | 
/api/projects/{projectId}/brokers/{brokerId}/streams/replay
The following methods are available for this path:
PUT Viewer
Replays broker stream
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 |  |