{"version":"0.10","base_url":"https://mcptask.online/api","authentication":{"description":"JWT Bearer token authentication","header":"Authorization: Bearer \u003ctoken\u003e","obtain_token":"POST https://mcptask.online/api/sessions"},"endpoints":{"sessions":{"create":{"path":"POST /api/sessions","req":["session[email]","session[password]"]},"destroy":{"path":"DELETE /api/sessions/:id","req":[":id"]}},"accounts":{"show":{"path":"GET /api/:code","req":[":code"]}},"pieces":{"show":{"path":"GET /api/:code/pieces/:id","req":[":code",":id"]},"pinned":{"path":"GET /api/:code/pieces/pinned","req":[":code"]},"last":{"path":"GET /api/:code/pieces/last","req":[":code"]},"search":{"path":"GET /api/:code/pieces/search","req":[":code"],"opt":["search[text]"]},"create":{"path":"POST /api/:code/pieces","req":[":code","piece_type","name","project_id"],"opt":["description","parent_id","task_type_code","assigned_user_id","priority_code","scrum_point_code","sprint_id","repeat_after","repeat_on","files[]"]}},"efforts":{"index":{"path":"GET /api/:code/pieces/:piece_id/efforts","req":[":code",":piece_id"]},"show":{"path":"GET /api/:code/pieces/:piece_id/efforts/:id","req":[":code",":piece_id",":id"]},"create":{"path":"POST /api/:code/pieces/:piece_id/efforts","req":[":code",":piece_id","effort[description]","effort[progress]","effort[begin_at]","effort[end_at]"]},"update":{"path":"PATCH /api/:code/pieces/:piece_id/efforts/:id","req":[":code",":piece_id",":id"],"opt":["effort[description]","effort[progress]","effort[begin_at]","effort[end_at]"]},"destroy":{"path":"DELETE /api/:code/pieces/:piece_id/efforts/:id","req":[":code",":piece_id",":id"]}},"users":{"show":{"path":"GET /api/:code/users/:id","req":[":code",":id"]},"current":{"path":"GET /api/:code/users/current","req":[":code"]},"time_status":{"path":"GET /api/:code/users/:id/time_status","req":[":code",":id"]}},"projects":{"index":{"path":"GET /api/:code/projects","req":[":code"]}},"events":{"show":{"path":"GET /api/:code/events/:id","req":[":code",":id"]},"last":{"path":"GET /api/:code/events/last","req":[":code"]}}},"examples":{"sessions.create":{"session":{"email":"user@x.com","password":"secret"}},"pieces.create":{"piece_type":"Task","name":"New Task","project_id":1},"efforts.create":{"effort":{"description":"Work","begin_at":"2026-04-20T10:00:00Z","end_at":"2026-04-20T11:00:00Z","progress":50}},"efforts.update":{"effort":{"description":"Updated","progress":75}}}}