2024-10-09 04:05:15 -04:00
|
|
|
{
|
|
|
|
"operationId": "getStreams",
|
|
|
|
"summary": "Get all streams",
|
|
|
|
"tags": ["Streams"],
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"BearerAuth": ["streams"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"in": "query",
|
|
|
|
"name": "expand",
|
|
|
|
"description": "Expansions",
|
|
|
|
"schema": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["access_list", "owner", "certificate"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "200 response",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"examples": {
|
|
|
|
"default": {
|
|
|
|
"value": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"created_on": "2024-10-09T02:33:45.000Z",
|
|
|
|
"modified_on": "2024-10-09T02:33:45.000Z",
|
|
|
|
"owner_user_id": 1,
|
|
|
|
"incoming_port": 9090,
|
|
|
|
"forwarding_host": "router.internal",
|
|
|
|
"forwarding_port": 80,
|
2024-10-10 01:53:11 -04:00
|
|
|
"tcp_forwarding": true,
|
|
|
|
"udp_forwarding": false,
|
2024-10-09 04:05:15 -04:00
|
|
|
"meta": {
|
|
|
|
"nginx_online": true,
|
|
|
|
"nginx_err": null
|
|
|
|
},
|
2024-10-10 01:53:11 -04:00
|
|
|
"enabled": true
|
2024-10-09 04:05:15 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema": {
|
|
|
|
"$ref": "../../../components/stream-list.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|