※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
POST /api/v1/teams/:team_id/tasks/:id/start
Start a task
Supported Formats
jsonExamples
POST /api/v1/teams/14/tasks/48/start {} 200 { "id": 1, "started_at": "2025-06-02T16:24:39.000+09:00", "stopped_at": null, "time_trackable_id": 48, "time_trackable_type": "Task", "time_tracker_id": 28, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:39.000+09:00", "updated_at": "2025-06-02T16:24:39.000+09:00", "deleted_at": null, "duration": 0.220590503, "amount": 0, "team_id": 14, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/48/edit", "user": { "id": 28, "nickname": "Dr. Wilbur Lockman", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:39.000+09:00", "updated_at": "2025-06-02T16:24:39.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-06-02T16:24:39.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "updated_at": "2025-06-02T16:24:39.000+09:00", "id": 48, "key": "http://hayes.test/annamae", "title": "Pariatur assumenda ad eius.", "url": "http://hayes.test/annamae", "team_id": 14, "created_at": "2025-06-02T16:24:38.000+09:00", "deleted_at": null, "description": null, "category": { "id": 47, "key": "key21", "title": "key21", "url": null, "team_id": 14, "created_at": "2025-06-02T16:24:38.000+09:00", "updated_at": "2025-06-02T16:24:38.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "0996e40ee99132f44ce2804944fa8647", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "47", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "a1f670671df3f3b1defadf4fb1bf0f2d", "archived": false, "category_id": 47, "ancestry_path": "/47/", "selectable": true, "team": { "id": 14, "name": "Virginia dragons", "created_at": "2025-06-02T16:24:38.000+09:00", "updated_at": "2025-06-02T16:24:39.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 44, "tasks_readonly": false } }, "comment": null, "team": { "id": 14, "name": "Virginia dragons", "created_at": "2025-06-02T16:24:38.000+09:00", "updated_at": "2025-06-02T16:24:39.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 44, "tasks_readonly": false }, "category": { "id": 47, "key": "key21", "title": "key21", "url": null, "team_id": 14, "created_at": "2025-06-02T16:24:38.000+09:00", "updated_at": "2025-06-02T16:24:38.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "0996e40ee99132f44ce2804944fa8647", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/teams/15/tasks/52/start {} 422 { "messages": [ "1 error prohibited this Time entry from being saved. ", "Task is already deleted." ] }