system: merge info and dmi routes
also return uptimeSecs instead of abstract date
This commit is contained in:
@@ -115,7 +115,6 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user