| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "operationId": "getStream",
- "summary": "Get a Stream",
- "tags": ["streams"],
- "security": [
- {
- "bearerAuth": ["streams.view"]
- }
- ],
- "parameters": [
- {
- "in": "path",
- "name": "streamID",
- "description": "The ID of the Stream",
- "schema": {
- "type": "integer",
- "minimum": 1
- },
- "required": true,
- "example": 2
- }
- ],
- "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,
- "tcp_forwarding": true,
- "udp_forwarding": false,
- "meta": {
- "nginx_online": true,
- "nginx_err": null
- },
- "enabled": true,
- "certificate_id": 0
- }
- }
- },
- "schema": {
- "$ref": "../../../../components/stream-object.json"
- }
- }
- }
- }
- }
- }
|