apidocs: add missing methods rtmpsconns/*

This commit is contained in:
aler9 2022-08-23 13:30:24 +02:00
parent 44f29c9ba3
commit 3e529f436a
1 changed files with 56 additions and 0 deletions

View File

@ -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