diff --git a/handlers/routes.go b/handlers/routes.go index ed233d0e..2975e0db 100644 --- a/handlers/routes.go +++ b/handlers/routes.go @@ -137,7 +137,8 @@ func Router() *mux.Router { api.Handle("/api/services/{id}/failures", authenticated(servicesDeleteFailuresHandler, false)).Methods("DELETE") api.Handle("/api/services/{id}/hits", scoped(apiServiceHitsHandler)).Methods("GET") api.Handle("/api/services/{id}/hits", authenticated(apiServiceHitsDeleteHandler, false)).Methods("DELETE") - + api.Handle("/api/services/{id}/responsecode", scoped(apiServiceResponseCodeHandler)).Methods("GET") + // API SERVICE CHART DATA Routes api.Handle("/api/services/{id}/hits_data", cached("30s", "application/json", apiServiceDataHandler)).Methods("GET") api.Handle("/api/services/{id}/failure_data", cached("30s", "application/json", apiServiceFailureDataHandler)).Methods("GET")