mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
42 lines
669 B
JSON
42 lines
669 B
JSON
|
{
|
||
|
"operationId": "createStream",
|
||
|
"summary": "Create a new Stream",
|
||
|
"tags": [
|
||
|
"Streams"
|
||
|
],
|
||
|
"requestBody": {
|
||
|
"description": "Host to Create",
|
||
|
"required": true,
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"schema": "{{schema.CreateStream}}"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"responses": {
|
||
|
"201": {
|
||
|
"description": "201 response",
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"schema": {
|
||
|
"required": [
|
||
|
"result"
|
||
|
],
|
||
|
"properties": {
|
||
|
"result": {
|
||
|
"$ref": "#/components/schemas/StreamObject"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"examples": {
|
||
|
"default": {
|
||
|
"value": {
|
||
|
"result": "TODO"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|