From 3e529f436a7e2efc2761ad3a2699c98b551f859f Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Tue, 23 Aug 2022 13:30:24 +0200 Subject: [PATCH] apidocs: add missing methods rtmpsconns/* --- apidocs/openapi.yaml | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/apidocs/openapi.yaml b/apidocs/openapi.yaml index 9d4a6bbf..9b771229 100644 --- a/apidocs/openapi.yaml +++ b/apidocs/openapi.yaml @@ -358,6 +358,17 @@ components: type: string enum: [idle, read, publish] + RTMPSConn: + type: object + properties: + created: + type: string + remoteAddr: + type: string + state: + type: string + enum: [idle, read, publish] + HLSMuxer: type: object properties: @@ -398,6 +409,14 @@ components: additionalProperties: $ref: '#/components/schemas/RTMPConn' + RTMPSConnsList: + type: object + properties: + items: + type: object + additionalProperties: + $ref: '#/components/schemas/RTMPSConn' + HLSMuxersList: type: object properties: @@ -643,6 +662,43 @@ paths: '500': description: internal server error. + /v1/rtmpsconns/list: + get: + operationId: rtmpsConnsList + summary: returns all active RTMPS connections. + description: '' + responses: + '200': + description: the request was successful. + content: + application/json: + schema: + $ref: '#/components/schemas/RTMPSConnsList' + '400': + description: invalid request. + '500': + description: internal server error. + + /v1/rtmpsconns/kick/{id}: + post: + operationId: rtmpsConnsKick + summary: kicks out a RTMPS connection from the server. + description: '' + parameters: + - name: id + in: path + required: true + description: the ID of the connection. + schema: + type: string + responses: + '200': + description: the request was successful. + '400': + description: invalid request. + '500': + description: internal server error. + /v1/hlsmuxers/list: get: operationId: hlsMuxersList