2022-05-11 22:47:31 +00:00
|
|
|
{
|
|
|
|
"operationId": "createStream",
|
|
|
|
"summary": "Create a new Stream",
|
2023-01-04 05:36:56 +00:00
|
|
|
"tags": ["Streams"],
|
2022-05-11 22:47:31 +00:00
|
|
|
"requestBody": {
|
2023-01-04 05:36:56 +00:00
|
|
|
"description": "Stream to Create",
|
2022-05-11 22:47:31 +00:00
|
|
|
"required": true,
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": "{{schema.CreateStream}}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "201 response",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2023-01-04 05:36:56 +00:00
|
|
|
"required": ["result"],
|
2022-05-11 22:47:31 +00:00
|
|
|
"properties": {
|
|
|
|
"result": {
|
|
|
|
"$ref": "#/components/schemas/StreamObject"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"examples": {
|
|
|
|
"default": {
|
|
|
|
"value": {
|
|
|
|
"result": "TODO"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-04 05:36:56 +00:00
|
|
|
}
|