There was an error while loading. Please reload this page.
GET /api/tasks
GET /api/lists/:list_id/tasks
PUT /api/tasks/:task_id
POST /api/lists/:list_id/tasks
PUT /api/tasks/:task_id/move
Parameters:
task[listId]
Example Request:
curl -X PUT \ -H "Authorization: bearer <token>" \ -H "Content-Type: application/json" \ -d '{"task":{"listId":20}}' \ https://nitro-server.herokuapp.com/api/tasks/42/move
Example Response:
HTTP/1.1 200 OK Content-Type: appliation/json; charset=utf0-8 { "id": 42, "listId": 20, "userId": 2, "name": "A task", "notes": "", "date": 0, "priority": 1, "completed": 0 }
DELETE /api/tasks/:task_id