forked from External/mediamtx
parent
07ff79f553
commit
cde19097bd
4 changed files with 349 additions and 2 deletions
|
|
@ -15,6 +15,12 @@ security: []
|
|||
|
||||
components:
|
||||
schemas:
|
||||
Error:
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
|
||||
GlobalConf:
|
||||
type: object
|
||||
properties:
|
||||
|
|
@ -633,8 +639,16 @@ paths:
|
|||
$ref: '#/components/schemas/GlobalConf'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/global/patch:
|
||||
patch:
|
||||
|
|
@ -652,8 +666,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/pathdefaults/get:
|
||||
get:
|
||||
|
|
@ -669,8 +691,16 @@ paths:
|
|||
$ref: '#/components/schemas/PathConf'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/pathdefaults/patch:
|
||||
patch:
|
||||
|
|
@ -688,8 +718,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/list:
|
||||
get:
|
||||
|
|
@ -718,8 +756,16 @@ paths:
|
|||
$ref: '#/components/schemas/PathConfList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/get/{name}:
|
||||
get:
|
||||
|
|
@ -742,8 +788,16 @@ paths:
|
|||
$ref: '#/components/schemas/PathConf'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/add/{name}:
|
||||
post:
|
||||
|
|
@ -768,8 +822,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/patch/{name}:
|
||||
patch:
|
||||
|
|
@ -794,8 +856,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/replace/{name}:
|
||||
post:
|
||||
|
|
@ -820,8 +890,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/config/paths/delete/{name}:
|
||||
delete:
|
||||
|
|
@ -840,8 +918,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/hlsmuxers/list:
|
||||
get:
|
||||
|
|
@ -870,8 +956,16 @@ paths:
|
|||
$ref: '#/components/schemas/HLSMuxerList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/hlsmuxers/get/{name}:
|
||||
get:
|
||||
|
|
@ -894,8 +988,16 @@ paths:
|
|||
$ref: '#/components/schemas/HLSMuxer'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/paths/list:
|
||||
get:
|
||||
|
|
@ -924,8 +1026,16 @@ paths:
|
|||
$ref: '#/components/schemas/PathList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/paths/get/{name}:
|
||||
get:
|
||||
|
|
@ -948,8 +1058,16 @@ paths:
|
|||
$ref: '#/components/schemas/Path'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspconns/list:
|
||||
get:
|
||||
|
|
@ -978,8 +1096,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPConnList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspconns/get/{id}:
|
||||
get:
|
||||
|
|
@ -1002,8 +1128,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPConn'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspsessions/list:
|
||||
get:
|
||||
|
|
@ -1032,8 +1166,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPSessionList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspsessions/get/{id}:
|
||||
get:
|
||||
|
|
@ -1056,8 +1198,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPSession'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspsessions/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1076,8 +1226,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspsconns/list:
|
||||
get:
|
||||
|
|
@ -1106,8 +1264,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPConnList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspsconns/get/{id}:
|
||||
get:
|
||||
|
|
@ -1130,8 +1296,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPConn'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspssessions/list:
|
||||
get:
|
||||
|
|
@ -1160,8 +1334,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPSessionList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspssessions/get/{id}:
|
||||
get:
|
||||
|
|
@ -1184,8 +1366,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTSPSession'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtspssessions/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1204,8 +1394,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpconns/list:
|
||||
get:
|
||||
|
|
@ -1234,8 +1432,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTMPConnList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpconns/get/{id}:
|
||||
get:
|
||||
|
|
@ -1258,8 +1464,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTMPConn'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpconns/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1278,8 +1492,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpsconns/list:
|
||||
get:
|
||||
|
|
@ -1308,8 +1530,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTMPConnList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpsconns/get/{id}:
|
||||
get:
|
||||
|
|
@ -1332,8 +1562,16 @@ paths:
|
|||
$ref: '#/components/schemas/RTMPConn'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/rtmpsconns/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1352,8 +1590,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/srtconns/list:
|
||||
get:
|
||||
|
|
@ -1382,8 +1628,16 @@ paths:
|
|||
$ref: '#/components/schemas/SRTConnList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/srtconns/get/{id}:
|
||||
get:
|
||||
|
|
@ -1406,8 +1660,16 @@ paths:
|
|||
$ref: '#/components/schemas/SRTConn'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/srtconns/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1426,8 +1688,16 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/webrtcsessions/list:
|
||||
get:
|
||||
|
|
@ -1456,8 +1726,16 @@ paths:
|
|||
$ref: '#/components/schemas/WebRTCSessionList'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/webrtcsessions/get/{id}:
|
||||
get:
|
||||
|
|
@ -1480,8 +1758,16 @@ paths:
|
|||
$ref: '#/components/schemas/WebRTCSession'
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/v3/webrtcsessions/kick/{id}:
|
||||
post:
|
||||
|
|
@ -1500,5 +1786,13 @@ paths:
|
|||
description: the request was successful.
|
||||
'400':
|
||||
description: invalid request.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
'500':
|
||||
description: server error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue