Skip to content

Latest commit

 

History

History
74 lines (70 loc) · 6.86 KB

api-coverage.md

File metadata and controls

74 lines (70 loc) · 6.86 KB

MediaMTX API coverage

Every operation of the MediaMTX v1.21.3 Control API (spec/mediamtx/openapi.yaml, 56 operations) and how this project uses it. Access is the minimum UI role for which the sidecar's API proxy forwards the call: viewer < operator < admin. sidecar operations are called only by the sidecar itself and never proxied for browsers; unused ones are never called.

Access Operations
viewer 5
operator 32
admin 2
sidecar 4
unused 13
Operation Method Path Area Phase Access Notes
info GET /v3/info Dashboard 2 viewer
authJwksRefresh POST /v3/auth/jwks/refresh – – unused authMethod is http, so there is no JWKS to refresh.
configGlobalGet GET /v3/config/global/get Global config 3 sidecar Effective config for apply-and-verify and drift detection. The UI reads config through the sidecar's writer, which redacts secrets.
configGlobalSet PATCH /v3/config/global/patch – – unused Runtime-only; the next file reload discards it (verified). Persistent config goes through the sidecar's file writer.
configPathDefaultsGet GET /v3/config/path-defaults/get Path defaults 3 sidecar Effective path defaults for apply-and-verify.
configPathDefaultsPatch PATCH /v3/config/path-defaults/patch – – unused Runtime-only, like configGlobalSet.
configInternalUsersList GET /v3/config/internal-users/list – – unused authMethod is http, so MediaMTX has no internal users; people and stream keys live in the sidecar.
configInternalUsersGet GET /v3/config/internal-users/get/{id} – – unused Like configInternalUsersList.
configInternalUsersAdd POST /v3/config/internal-users/add – – unused Runtime-only, like configGlobalSet; and there are no internal users (configInternalUsersList).
configInternalUsersPatch PATCH /v3/config/internal-users/patch/{id} – – unused Like configInternalUsersAdd.
configInternalUsersReplace POST /v3/config/internal-users/replace/{id} – – unused Like configInternalUsersAdd.
configInternalUsersDelete DELETE /v3/config/internal-users/delete/{id} – – unused Like configInternalUsersAdd.
configPathsList GET /v3/config/paths/list Paths 3 sidecar Effective path configs; paths present here but not in the file are flagged runtime-only.
configPathsGet GET /v3/config/paths/get/{name} Paths 3 sidecar
configPathsAdd POST /v3/config/paths/add/{name} – – unused Runtime-only, like configGlobalSet.
configPathsPatch PATCH /v3/config/paths/patch/{name} – – unused Runtime-only, like configGlobalSet.
configPathsReplace POST /v3/config/paths/replace/{name} – – unused Runtime-only, like configGlobalSet.
configPathsDelete DELETE /v3/config/paths/delete/{name} – – unused Runtime-only, like configGlobalSet.
hlsMuxersList GET /v3/hls/muxers/list Connections 2 operator
hlsMuxersGet GET /v3/hls/muxers/get/{name} Connections 2 operator
hlssessionsList GET /v3/hls/sessions/list Connections 2 operator Includes client addresses.
hlssessionsGet GET /v3/hls/sessions/get/{id} Connections 2 operator
hlssessionsKick POST /v3/hls/sessions/kick/{id} Connections 2 operator
pathsList GET /v3/paths/list Paths 2 viewer
pathsGet GET /v3/paths/get/{name} Paths 2 viewer
pathsForwardDestsList GET /v3/paths/forward-dests/list Paths 3 admin Items carry the deprecated conf (destination URL with credentials or stream key, WHIP bearer token); the proxy must strip it.
pathsForwardDestsGet GET /v3/paths/forward-dests/get Paths 3 admin Same secrets as pathsForwardDestsList.
pathsStaticSourcesGet GET /v3/paths/static-sources/get/{name} Paths 2 operator Includes the upstream camera or server address.
rtspConnsList GET /v3/rtsp/conns/list Connections 2 operator Includes client addresses.
rtspConnsGet GET /v3/rtsp/conns/get/{id} Connections 2 operator
rtspSessionsList GET /v3/rtsp/sessions/list Connections 2 operator
rtspSessionsGet GET /v3/rtsp/sessions/get/{id} Connections 2 operator
rtspSessionsKick POST /v3/rtsp/sessions/kick/{id} Connections 2 operator
rtspsConnsList GET /v3/rtsps/conns/list Connections 2 operator
rtspsConnsGet GET /v3/rtsps/conns/get/{id} Connections 2 operator
rtspsSessionsList GET /v3/rtsps/sessions/list Connections 2 operator
rtspsSessionsGet GET /v3/rtsps/sessions/get/{id} Connections 2 operator
rtspsSessionsKick POST /v3/rtsps/sessions/kick/{id} Connections 2 operator
rtmpConnsList GET /v3/rtmp/conns/list Connections 2 operator
rtmpConnectionsGet GET /v3/rtmp/conns/get/{id} Connections 2 operator
rtmpConnsKick POST /v3/rtmp/conns/kick/{id} Connections 2 operator
rtmpsConnsList GET /v3/rtmps/conns/list Connections 2 operator
rtmpsConnectionsGet GET /v3/rtmps/conns/get/{id} Connections 2 operator
rtmpsConnsKick POST /v3/rtmps/conns/kick/{id} Connections 2 operator
srtConnsList GET /v3/srt/conns/list Connections 2 operator
srtConnsGet GET /v3/srt/conns/get/{id} Connections 2 operator
srtConnsKick POST /v3/srt/conns/kick/{id} Connections 2 operator
webrtcSessionsList GET /v3/webrtc/sessions/list Connections 2 operator
webrtcSessionsGet GET /v3/webrtc/sessions/get/{id} Connections 2 operator
webrtcSessionsKick POST /v3/webrtc/sessions/kick/{id} Connections 2 operator
moqSessionsList GET /v3/moq/sessions/list Connections 2 operator MoQ is off in the seed config; the list is empty unless an admin enables it.
moqSessionsGet GET /v3/moq/sessions/get/{id} Connections 2 operator
moqSessionsKick POST /v3/moq/sessions/kick/{id} Connections 2 operator
recordingsList GET /v3/recordings/list Recordings 5 viewer
recordingsGet GET /v3/recordings/get/{name} Recordings 5 viewer
recordingsSegmentsDelete DELETE /v3/recordings/segments/delete Recordings 5 operator The only way recordings are deleted; the sidecar mounts the recordings volume read-only.