- GET:
/api/v1/tasks
- returns all tasks from the db injson
format. - POST:
/api/v1/tasks
- takes injson
data in the post body to create a new task.- Example post request
{ "title": "submit assignment", "description": "submit it and get some points!" }
- Example post request
- PUT:
/api/v1/tasks/{id}/state
- takes in a taskid
as a path variable, and updates that task to the next status.- Statuses progress from:
Available
->Assigned
->Accepted
->Finished
.
- Statuses progress from: