Streams
Available API Paths
- /api/projects/{projectId}/brokers/{brokerId}/streams
- /api/projects/{projectId}/brokers/{brokerId}/streams/{stream}
- /api/projects/{projectId}/brokers/{brokerId}/streams/{stream}/messages
- /api/projects/{projectId}/brokers/{brokerId}/streams/{stream}/replay
/api/projects/{projectId}/brokers/{brokerId}/streams
The following methods are available for this path:
GET
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
Creates 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 |
|
/api/projects/{projectId}/brokers/{brokerId}/streams/{stream}
The following methods are available for this path:
DELETE
Deletes specified broker stream
Parameters
Name | Location | Type | Description |
---|---|---|---|
projectId | path | string | A project id |
brokerId | path | string | A broker id |
stream | path | string | A valid stream name |
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
Updates specified broker stream
Parameters
Name | Location | Type | Description |
---|---|---|---|
projectId | path | string | A project id |
brokerId | path | string | A broker id |
stream | path | string | A valid stream name |
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 |
|
/api/projects/{projectId}/brokers/{brokerId}/streams/{stream}/messages
The following methods are available for this path:
DELETE
Deletes all messages of specified broker stream.
Parameters
Name | Location | Type | Description |
---|---|---|---|
projectId | path | string | A project id |
brokerId | path | string | A broker id |
stream | path | string | A valid stream name |
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/{stream}/replay
The following methods are available for this path:
POST
Replays broker stream
Parameters
Name | Location | Type | Description |
---|---|---|---|
projectId | path | string | A project id |
brokerId | path | string | A broker id |
stream | path | string | A valid stream name |
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 |
|