mediamtx/internal/api
Alessandro Ros 3de05c1330
api: always reply with JSON in case of success or failure (#5252)
Reply with "status": "ok" in case of success, and with "status":
"error" in case of error. This makes the API more accessible and user
friendly.
2025-12-07 10:37:55 +01:00
..
testdata/fuzz/FuzzPaginate api: fix crash when itemsPerPage is zero and there are items (#3425) 2024-06-04 23:09:50 +02:00
api.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_global.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_global_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_pathdefaults.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_pathdefaults_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_paths.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_config_paths_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_hls.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_hls_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_paths.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_paths_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_recordings.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_recordings_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_rtmp.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_rtmp_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_rtsp.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_rtsp_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_srt.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_srt_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_webrtc.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
api_webrtc_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
paginate.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00
paginate_test.go api: always reply with JSON in case of success or failure (#5252) 2025-12-07 10:37:55 +01:00