Add a route for uptime details

This commit is contained in:
Alex Holliday committed 2024-12-30 14:56:38 -08:00
1 parent 3e841b2e16
commit d9c583f972
1 file changed
+7
+7
View File
@@ -13,6 +13,13 @@ class MonitorRoutes {
this.router.get("/", this.monitorController.getAllMonitors);
this.router.get("/uptime", this.monitorController.getAllMonitorsWithUptimeStats);
this.router.get("/stats/:monitorId", this.monitorController.getMonitorStatsById);
// New details routes
this.router.get(
"/uptime/details/:monitorId",
this.monitorController.getUptimeDetailsById
);
this.router.get("/certificate/:monitorId", (req, res, next) => {
this.monitorController.getMonitorCertificate(
req,