Browse Source

apidocs: group operations by using tags (#2987)

pull/2988/head
Alessandro Ros 1 year ago committed by GitHub
parent
commit
5e27304935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      README.md
  2. 36
      apidocs/openapi.yaml

4
README.md

@ -14,7 +14,7 @@
<br> <br>
_MediaMTX_ (formerly _rtsp-simple-server_) is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy and record video and audio streams. It has been conceived as a "media router" that routes media streams from one end to the other. _MediaMTX_ (formerly _rtsp-simple-server_) is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy, record and playback video and audio streams. It has been conceived as a "media router" that routes media streams from one end to the other.
Live streams can be published to the server with: Live streams can be published to the server with:
@ -42,7 +42,7 @@ And can be read from the server with:
|[RTMP](#rtmp)|RTMP, RTMPS, Enhanced RTMP|H264|MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3)| |[RTMP](#rtmp)|RTMP, RTMPS, Enhanced RTMP|H264|MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3)|
|[HLS](#hls)|Low-Latency HLS, MP4-based HLS, legacy HLS|AV1, VP9, H265, H264|Opus, MPEG-4 Audio (AAC)| |[HLS](#hls)|Low-Latency HLS, MP4-based HLS, legacy HLS|AV1, VP9, H265, H264|Opus, MPEG-4 Audio (AAC)|
And can be recorded with: And can be recorded and played back with:
|format|video codecs|audio codecs| |format|video codecs|audio codecs|
|------|------------|------------| |------|------------|------------|

36
apidocs/openapi.yaml

@ -660,6 +660,7 @@ paths:
/v3/config/global/get: /v3/config/global/get:
get: get:
operationId: configGlobalGet operationId: configGlobalGet
tags: [Configuration]
summary: returns the global configuration. summary: returns the global configuration.
description: '' description: ''
responses: responses:
@ -685,6 +686,7 @@ paths:
/v3/config/global/patch: /v3/config/global/patch:
patch: patch:
operationId: configGlobalSet operationId: configGlobalSet
tags: [Configuration]
summary: patches the global configuration. summary: patches the global configuration.
description: all fields are optional. description: all fields are optional.
requestBody: requestBody:
@ -712,6 +714,7 @@ paths:
/v3/config/pathdefaults/get: /v3/config/pathdefaults/get:
get: get:
operationId: configPathDefaultsGet operationId: configPathDefaultsGet
tags: [Configuration]
summary: returns the default path configuration. summary: returns the default path configuration.
description: '' description: ''
responses: responses:
@ -737,6 +740,7 @@ paths:
/v3/config/pathdefaults/patch: /v3/config/pathdefaults/patch:
patch: patch:
operationId: configPathDefaultsPatch operationId: configPathDefaultsPatch
tags: [Configuration]
summary: patches the default path configuration. summary: patches the default path configuration.
description: all fields are optional. description: all fields are optional.
requestBody: requestBody:
@ -764,6 +768,7 @@ paths:
/v3/config/paths/list: /v3/config/paths/list:
get: get:
operationId: configPathsList operationId: configPathsList
tags: [Configuration]
summary: returns all path configurations. summary: returns all path configurations.
description: '' description: ''
parameters: parameters:
@ -802,6 +807,7 @@ paths:
/v3/config/paths/get/{name}: /v3/config/paths/get/{name}:
get: get:
operationId: configPathsGet operationId: configPathsGet
tags: [Configuration]
summary: returns a path configuration. summary: returns a path configuration.
description: '' description: ''
parameters: parameters:
@ -840,6 +846,7 @@ paths:
/v3/config/paths/add/{name}: /v3/config/paths/add/{name}:
post: post:
operationId: configPathsAdd operationId: configPathsAdd
tags: [Configuration]
summary: adds a path configuration. summary: adds a path configuration.
description: all fields are optional. description: all fields are optional.
parameters: parameters:
@ -874,6 +881,7 @@ paths:
/v3/config/paths/patch/{name}: /v3/config/paths/patch/{name}:
patch: patch:
operationId: configPathsPatch operationId: configPathsPatch
tags: [Configuration]
summary: patches a path configuration. summary: patches a path configuration.
description: all fields are optional. description: all fields are optional.
parameters: parameters:
@ -914,6 +922,7 @@ paths:
/v3/config/paths/replace/{name}: /v3/config/paths/replace/{name}:
post: post:
operationId: configPathsReplace operationId: configPathsReplace
tags: [Configuration]
summary: replaces all values of a path configuration. summary: replaces all values of a path configuration.
description: all fields are optional. description: all fields are optional.
parameters: parameters:
@ -954,6 +963,7 @@ paths:
/v3/config/paths/delete/{name}: /v3/config/paths/delete/{name}:
delete: delete:
operationId: configPathsDelete operationId: configPathsDelete
tags: [Configuration]
summary: removes a path configuration. summary: removes a path configuration.
description: '' description: ''
parameters: parameters:
@ -988,6 +998,7 @@ paths:
/v3/hlsmuxers/list: /v3/hlsmuxers/list:
get: get:
operationId: hlsMuxersList operationId: hlsMuxersList
tags: [HLS]
summary: returns all HLS muxers. summary: returns all HLS muxers.
description: '' description: ''
parameters: parameters:
@ -1026,6 +1037,7 @@ paths:
/v3/hlsmuxers/get/{name}: /v3/hlsmuxers/get/{name}:
get: get:
operationId: hlsMuxersGet operationId: hlsMuxersGet
tags: [HLS]
summary: returns a HLS muxer. summary: returns a HLS muxer.
description: '' description: ''
parameters: parameters:
@ -1064,6 +1076,7 @@ paths:
/v3/paths/list: /v3/paths/list:
get: get:
operationId: pathsList operationId: pathsList
tags: [Paths]
summary: returns all paths. summary: returns all paths.
description: '' description: ''
parameters: parameters:
@ -1102,6 +1115,7 @@ paths:
/v3/paths/get/{name}: /v3/paths/get/{name}:
get: get:
operationId: pathsGet operationId: pathsGet
tags: [Paths]
summary: returns a path. summary: returns a path.
description: '' description: ''
parameters: parameters:
@ -1140,6 +1154,7 @@ paths:
/v3/rtspconns/list: /v3/rtspconns/list:
get: get:
operationId: rtspConnsList operationId: rtspConnsList
tags: [RTSP]
summary: returns all RTSP connections. summary: returns all RTSP connections.
description: '' description: ''
parameters: parameters:
@ -1178,6 +1193,7 @@ paths:
/v3/rtspconns/get/{id}: /v3/rtspconns/get/{id}:
get: get:
operationId: rtspConnsGet operationId: rtspConnsGet
tags: [RTSP]
summary: returns a RTSP connection. summary: returns a RTSP connection.
description: '' description: ''
parameters: parameters:
@ -1216,6 +1232,7 @@ paths:
/v3/rtspsessions/list: /v3/rtspsessions/list:
get: get:
operationId: rtspSessionsList operationId: rtspSessionsList
tags: [RTSP]
summary: returns all RTSP sessions. summary: returns all RTSP sessions.
description: '' description: ''
parameters: parameters:
@ -1254,6 +1271,7 @@ paths:
/v3/rtspsessions/get/{id}: /v3/rtspsessions/get/{id}:
get: get:
operationId: rtspSessionsGet operationId: rtspSessionsGet
tags: [RTSP]
summary: returns a RTSP session. summary: returns a RTSP session.
description: '' description: ''
parameters: parameters:
@ -1292,6 +1310,7 @@ paths:
/v3/rtspsessions/kick/{id}: /v3/rtspsessions/kick/{id}:
post: post:
operationId: rtspSessionsKick operationId: rtspSessionsKick
tags: [RTSP]
summary: kicks out a RTSP session from the server. summary: kicks out a RTSP session from the server.
description: '' description: ''
parameters: parameters:
@ -1326,6 +1345,7 @@ paths:
/v3/rtspsconns/list: /v3/rtspsconns/list:
get: get:
operationId: rtspsConnsList operationId: rtspsConnsList
tags: [RTSP]
summary: returns all RTSPS connections. summary: returns all RTSPS connections.
description: '' description: ''
parameters: parameters:
@ -1364,6 +1384,7 @@ paths:
/v3/rtspsconns/get/{id}: /v3/rtspsconns/get/{id}:
get: get:
operationId: rtspsConnsGet operationId: rtspsConnsGet
tags: [RTSP]
summary: returns a RTSPS connection. summary: returns a RTSPS connection.
description: '' description: ''
parameters: parameters:
@ -1402,6 +1423,7 @@ paths:
/v3/rtspssessions/list: /v3/rtspssessions/list:
get: get:
operationId: rtspsSessionsList operationId: rtspsSessionsList
tags: [RTSP]
summary: returns all RTSPS sessions. summary: returns all RTSPS sessions.
description: '' description: ''
parameters: parameters:
@ -1440,6 +1462,7 @@ paths:
/v3/rtspssessions/get/{id}: /v3/rtspssessions/get/{id}:
get: get:
operationId: rtspsSessionsGet operationId: rtspsSessionsGet
tags: [RTSP]
summary: returns a RTSPS session. summary: returns a RTSPS session.
description: '' description: ''
parameters: parameters:
@ -1478,6 +1501,7 @@ paths:
/v3/rtspssessions/kick/{id}: /v3/rtspssessions/kick/{id}:
post: post:
operationId: rtspsSessionsKick operationId: rtspsSessionsKick
tags: [RTSP]
summary: kicks out a RTSPS session from the server. summary: kicks out a RTSPS session from the server.
description: '' description: ''
parameters: parameters:
@ -1512,6 +1536,7 @@ paths:
/v3/rtmpconns/list: /v3/rtmpconns/list:
get: get:
operationId: rtmpConnsList operationId: rtmpConnsList
tags: [RTMP]
summary: returns all RTMP connections. summary: returns all RTMP connections.
description: '' description: ''
parameters: parameters:
@ -1550,6 +1575,7 @@ paths:
/v3/rtmpconns/get/{id}: /v3/rtmpconns/get/{id}:
get: get:
operationId: rtmpConnectionsGet operationId: rtmpConnectionsGet
tags: [RTMP]
summary: returns a RTMP connection. summary: returns a RTMP connection.
description: '' description: ''
parameters: parameters:
@ -1588,6 +1614,7 @@ paths:
/v3/rtmpconns/kick/{id}: /v3/rtmpconns/kick/{id}:
post: post:
operationId: rtmpConnsKick operationId: rtmpConnsKick
tags: [RTMP]
summary: kicks out a RTMP connection from the server. summary: kicks out a RTMP connection from the server.
description: '' description: ''
parameters: parameters:
@ -1622,6 +1649,7 @@ paths:
/v3/rtmpsconns/list: /v3/rtmpsconns/list:
get: get:
operationId: rtmpsConnsList operationId: rtmpsConnsList
tags: [RTMP]
summary: returns all RTMPS connections. summary: returns all RTMPS connections.
description: '' description: ''
parameters: parameters:
@ -1660,6 +1688,7 @@ paths:
/v3/rtmpsconns/get/{id}: /v3/rtmpsconns/get/{id}:
get: get:
operationId: rtmpsConnectionsGet operationId: rtmpsConnectionsGet
tags: [RTMP]
summary: returns a RTMPS connection. summary: returns a RTMPS connection.
description: '' description: ''
parameters: parameters:
@ -1698,6 +1727,7 @@ paths:
/v3/rtmpsconns/kick/{id}: /v3/rtmpsconns/kick/{id}:
post: post:
operationId: rtmpsConnsKick operationId: rtmpsConnsKick
tags: [RTMP]
summary: kicks out a RTMPS connection from the server. summary: kicks out a RTMPS connection from the server.
description: '' description: ''
parameters: parameters:
@ -1732,6 +1762,7 @@ paths:
/v3/srtconns/list: /v3/srtconns/list:
get: get:
operationId: srtConnsList operationId: srtConnsList
tags: [SRT]
summary: returns all SRT connections. summary: returns all SRT connections.
description: '' description: ''
parameters: parameters:
@ -1770,6 +1801,7 @@ paths:
/v3/srtconns/get/{id}: /v3/srtconns/get/{id}:
get: get:
operationId: srtConnsGet operationId: srtConnsGet
tags: [SRT]
summary: returns a SRT connection. summary: returns a SRT connection.
description: '' description: ''
parameters: parameters:
@ -1808,6 +1840,7 @@ paths:
/v3/srtconns/kick/{id}: /v3/srtconns/kick/{id}:
post: post:
operationId: srtConnsKick operationId: srtConnsKick
tags: [SRT]
summary: kicks out a SRT connection from the server. summary: kicks out a SRT connection from the server.
description: '' description: ''
parameters: parameters:
@ -1842,6 +1875,7 @@ paths:
/v3/webrtcsessions/list: /v3/webrtcsessions/list:
get: get:
operationId: webrtcSessionsList operationId: webrtcSessionsList
tags: [WebRTC]
summary: returns all WebRTC sessions. summary: returns all WebRTC sessions.
description: '' description: ''
parameters: parameters:
@ -1880,6 +1914,7 @@ paths:
/v3/webrtcsessions/get/{id}: /v3/webrtcsessions/get/{id}:
get: get:
operationId: webrtcSessionsGet operationId: webrtcSessionsGet
tags: [WebRTC]
summary: returns a WebRTC session. summary: returns a WebRTC session.
description: '' description: ''
parameters: parameters:
@ -1918,6 +1953,7 @@ paths:
/v3/webrtcsessions/kick/{id}: /v3/webrtcsessions/kick/{id}:
post: post:
operationId: webrtcSessionsKick operationId: webrtcSessionsKick
tags: [WebRTC]
summary: kicks out a WebRTC session from the server. summary: kicks out a WebRTC session from the server.
description: '' description: ''
parameters: parameters:

Loading…
Cancel
Save