CREATE OR UPDATE Stream
PATCH/workspaces/:workspaceId/stream-groups/:streamGroupName/streams/:streamName
CREATE OR UPDATE Stream
Request
Path Parameters
Header Parameters
To ensure that no existing stream is updated pass If-None-Match header set to "*".
- application/json
Body
properties
object
batchIdAutoFillPattern
object
messageIdAutoFillPattern
object
batchCompletionTimeout
object
Possible values: [None
, WithNewLines
, WithoutNewLines
]
partitioning
object
Responses
- 200
- 201
- 404
- 423
Updated stream.
- application/json
- Schema
- Example (from schema)
Schema
properties
object
required
Possible values: [None
, WithNewLines
, WithoutNewLines
]
batchCompletionTimeout
object
required
batchIdAutoFillPattern
object
required
messageIdAutoFillPattern
object
required
partitioning
object
required
{
"name": "string",
"streamGroupName": "string",
"workspaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"concatenationMode": "None",
"batchCompletionTimeout": {
"isEnabled": true,
"timeout": "1.12:34:00"
},
"batchIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
},
"messageIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
}
},
"partitioning": {
"partitionCount": 0
}
}
Created stream.
Response Headers
Location
string
Endpoint URL of the created object.
- application/json
- Schema
- Example (from schema)
Schema
properties
object
required
Possible values: [None
, WithNewLines
, WithoutNewLines
]
batchCompletionTimeout
object
required
batchIdAutoFillPattern
object
required
messageIdAutoFillPattern
object
required
partitioning
object
required
{
"name": "string",
"streamGroupName": "string",
"workspaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"concatenationMode": "None",
"batchCompletionTimeout": {
"isEnabled": true,
"timeout": "1.12:34:00"
},
"batchIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
},
"messageIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
}
},
"partitioning": {
"partitionCount": 0
}
}
Stream group or workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}