Add route and controller method for hardware details
This commit is contained in:
1 parent
334e8c32f6
commit
cf3305611f
2 files changed
+17
No files matched your search
@@ -13,6 +13,10 @@ class MonitorRoutes {
|
||||
this.router.get("/", this.monitorController.getAllMonitors);
|
||||
this.router.get("/uptime", this.monitorController.getAllMonitorsWithUptimeStats);
|
||||
this.router.get("/stats/:monitorId", this.monitorController.getMonitorStatsById);
|
||||
this.router.get(
|
||||
"/hardware/details/:monitorId",
|
||||
this.monitorController.getHardwareDetailsById
|
||||
);
|
||||
this.router.get("/certificate/:monitorId", (req, res, next) => {
|
||||
this.monitorController.getMonitorCertificate(
|
||||
req,
|
||||
|
||||
Reference in new issue
Block a user