Closed hoanghm closed 4 months ago
Added 2 endpoints:
GET /get_weekly_missions/<user_id>/<num_missions>
GET /get_ongoing_missions/<user_id>/<num_missions>
Both return responses of the format
{
"new_missions": [
{
"id": "...",
"title": "...",
"description": "..."
"steps": "..."
},
// ... there can be multiple missions generated
]
}
We may not use these endpoints if frontend directly queries the firestore db.
[x] Add an API endpoint for ongoing mission generation
Endpoints format: