Adds endpoint todos in README

This commit is contained in:
2026-01-08 22:13:32 -06:00
parent db001dc5a7
commit 7dce3e38b4

View File

@@ -1,3 +1,19 @@
# Scavenger Hunt API # Scavenger Hunt API
REST API to support a community scavenger hunt app. REST API to support a community scavenger hunt app.
## TODO:
### User Endpoints
* list teams for hunt GET /hunt/{id}/team
* create new hunt team POST /hunt/{id}/team
* join hunt team POST /hunt/{id}/team/{id}
* list items for hunt GET /hunt/{id}/item
* get hunt item info GET /hunt/{id}/item/{id}
* get hunt team item info GET /hunt/{id}/team/{id}/item/{id}
* get photos for hunt item GET /hunt/{id}/team/{id}/item/{id}/photo
* upload photo for hunt item POST /hunt/{id}/team/{id}/item/{id}/photo
* delete photo for hunt item DELETE /hunt/{id}/team/{id}/item/{id}/photo
* list hunt teams with scores for hunt GET /lead/hunt/{id}/team
* list hunters with scores for hunt GET /lead/hunt/{id}/hunter
### Admin Endpoints
* approve photo for hunt item POST /admin/hunt/{id}/team/{id}