1dd904055c83a1b6e482b8d1e63df414a12fd126
Scavenger Hunt API
REST API to support a community scavenger hunt app.
Environment variables
DB_PASSWORDPassword for the databaseDB_URLJDBC URL for the databaseDB_USERUsername for the databaseJWT_SECRETSecret pass for the JWT
TODO:
User Endpoints
- upload photo for hunt item POST
/hunt/{huntId}/team/{teamId}/item/{itemId}/photo- body: image binary - delete photo for hunt item DELETE
/hunt/{huntId}/team/{teamId}/item/{itemId}/photo/{photoId} - list hunt teams with scores for hunt
GET /lead/hunt/{huntId}/team - list hunters with scores for hunt GET
/lead/hunt/{huntId}/hunter
Admin Endpoints
- approve photo for hunt item POST
/admin/hunt/{huntId}/team/{teamId}/item/{itemId}/photo/{photoId}- body: approval status
Description
Languages
Kotlin
99.6%
Dockerfile
0.4%