Add API to query district by GPS location

This commit is contained in:
Eli Ribble 2026-01-15 22:56:32 +00:00
parent 0bb055b391
commit f6b5a1e580
No known key found for this signature in database
5 changed files with 86 additions and 0 deletions

View file

@ -20,6 +20,7 @@ func AddRoutes(r chi.Router) {
r.Method("POST", "/image/{uuid}/content", auth.NewEnsureAuth(apiImageContentPost))
// Unauthenticated endpoints
r.Get("/district", apiGetDistrict)
r.Get("/webhook/fieldseeker", webhookFieldseeker)
r.Post("/webhook/fieldseeker", webhookFieldseeker)
}