Add device inventory refresh endpoint and auto-refresh UI
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 7s

This commit is contained in:
2026-08-07 14:00:26 +03:00
parent 36c8438b7f
commit 3157e9e8f7
8 changed files with 215 additions and 17 deletions
+1
View File
@@ -81,6 +81,7 @@ export const api = {
},
devices: {
list: () => request('/api/devices'),
refresh: () => request('/api/devices/refresh', { method: 'POST' }),
update: (id, patch, expectedRevision) => request(`/api/devices/${id}`, {
method: 'PUT',
body: JSON.stringify({ ...patch, expectedRevision }),