Create Multiple Streams
The following example shows how to create multiple streams with one stream request.
Request
POST /ws/v1/streams/inventory
Payload
[
{
"description": "test stream",
"id": "MyNewStream",
"type": "LONG"
},
{
"description": "another test stream",
"id": "MyOtherStream",
"type": "STRING"
}
]
Response
{
"count": 2,
"list": [
{
"description": "test stream",
"id": "MyNewStream",
"type": "LONG"
},
{
"description": "another test stream",
"id": "MyOtherStream",
"type": "STRING"
}
]
}