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' }); }