Add API to query district by GPS location
This commit is contained in:
parent
0bb055b391
commit
f6b5a1e580
5 changed files with 86 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue