system: dmi information

This commit is contained in:
Girish Ramakrishnan
2023-12-04 00:31:18 +01:00
parent 8a20b603f5
commit 72083f59cd
5 changed files with 43 additions and 3 deletions

View File

@@ -115,6 +115,7 @@ async function initializeExpressSync() {
router.get ('/api/v1/system/graphs', token, authorizeAdmin, routes.system.getSystemGraphs);
router.get ('/api/v1/system/disks', token, authorizeAdmin, routes.system.getDisks);
router.get ('/api/v1/system/cpus', token, authorizeAdmin, routes.system.getCpus);
router.get ('/api/v1/system/dmi', token, authorizeAdmin, routes.system.getDmi);
router.get ('/api/v1/system/disk_usage', token, authorizeAdmin, routes.system.getDiskUsage);
router.post('/api/v1/system/disk_usage', token, authorizeAdmin, routes.system.updateDiskUsage);
router.get ('/api/v1/system/block_devices', token, authorizeAdmin, routes.system.getBlockDevices);