From 79d44826fed36d6ff57ab62e5f9c801ce65c8715 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Mon, 18 May 2026 23:32:33 -0400 Subject: [PATCH] feat(api.js): add patchRecorder() helper for PATCH /recorders/:id --- services/web-ui/public/js/api.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web-ui/public/js/api.js b/services/web-ui/public/js/api.js index 9013068..493b087 100644 --- a/services/web-ui/public/js/api.js +++ b/services/web-ui/public/js/api.js @@ -401,6 +401,10 @@ async function createRecorder(data) { return api('/recorders', { method: 'POST', body: JSON.stringify(data) }); } +async function patchRecorder(id, data) { + return api(`/recorders/${id}`, { method: 'PATCH', body: JSON.stringify(data) }); +} + async function startRecorder(id) { return api(`/recorders/${id}/start`, { method: 'POST' }); }