return swap information

This commit is contained in:
Girish Ramakrishnan
2019-11-21 12:55:17 -08:00
parent 8a3d212bd4
commit 42fe84152a
3 changed files with 27 additions and 2 deletions

View File

@@ -144,6 +144,7 @@ function initializeExpressSync() {
router.post('/api/v1/cloudron/reboot', cloudronScope, routes.cloudron.reboot);
router.get ('/api/v1/cloudron/graphs', cloudronScope, routes.graphs.getGraphs);
router.get ('/api/v1/cloudron/disks', cloudronScope, routes.cloudron.getDisks);
router.get ('/api/v1/cloudron/memory', cloudronScope, routes.cloudron.getMemory);
router.get ('/api/v1/cloudron/logs/:unit', cloudronScope, routes.cloudron.getLogs);
router.get ('/api/v1/cloudron/logstream/:unit', cloudronScope, routes.cloudron.getLogStream);
router.get ('/api/v1/cloudron/eventlog', cloudronScope, routes.eventlog.list);