Add root API to RMO api

For getting sentry integration information
This commit is contained in:
Eli Ribble 2026-04-29 23:58:49 +00:00
parent 33ecfce313
commit 2f6cbe59eb
No known key found for this signature in database

View file

@ -20,6 +20,7 @@ func AddRoutesRMO(r *mux.Router) {
qrcode := resource.QRCode(router)
water := resource.Water(router)
r.HandleFunc("", handlerJSON(getRoot))
r.HandleFunc("/compliance-request/image/pool/{public_id}", compliance_request.ImagePoolGet).Methods("GET").Name("compliance-request.image.pool.ByIDGet")
r.Handle("/district", handlerJSONSlice(district.List)).Methods("GET")
r.Handle("/district/{id}", handlerJSON(district.GetByID)).Methods("GET").Name("district.ByIDGet")