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