※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
Time_entries
Supported Formats
json
GET /api/v1/time_entries
>>>
List time entries
Supported Formats
jsonExamples
GET /api/v1/time_entries 200 [ { "id": 6128, "time_trackable_id": 36533, "time_tracker_id": 14378, "updated_at": "2022-04-01T12:00:00.000Z", "amount": 0, "input_type": "realtime", "started_at": "2022-04-01T11:00:00.000Z", "stopped_at": "2022-04-01T11:30:00.000Z", "duration": 1800.0, "html_url": "http://test.host/app/mytasks/36533/edit", "user": { "id": 14378, "email": "harvey@okon-lesch.example", "nickname": "Miss Maria Luettgen", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "daily": true, "weekly": true, "calendar_zoom_rate": 1, "daily_time": "08:00", "is_anonymous": false, "has_password": true, "html_url": "http://test.host/app/users/14378/calendar", "is_deactivated": false }, "task": { "id": 36533, "key": "http://emmerich.test/alvin_gutkowski", "title": "Error expedita ducimus quis.", "url": "http://emmerich.test/alvin_gutkowski", "safe_url": "http://emmerich.test/alvin_gutkowski", "label": "[Illinois werewolves] Error expedita ducimus quis.", "team_id": 11606, "parent_id": 36532, "root_id": 36532, "category": { "id": 36532, "title": "key45", "color": 1 }, "team": { "name": "Illinois werewolves" } }, "formatted_duration": "00:30", "team": { "id": 11606, "name": "Illinois werewolves", "created_at": "2022-04-01T12:00:00.000Z", "updated_at": "2022-04-01T12:00:00.000Z", "deleted_at": null, "time_limit": 0, "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAABBUlEQVR42u3csUlDURSA4RdxAsFeSJEUKRzDAQJB7Z0kxZsgnTtoaWNhITZmj+zwCE4QSPcR/L/6FAd+zi3vbBh2u3EcglzpBf67AmAFwAqAFQArAFYA7FovcK71ev6xeFqtbu5vX0/NbLe/n9+HaTo+Hu/0vue6qADL581m/rb8OjUzjvuXn4dpGt4vJ0BPEFYArABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmAFwAqAFQArAFYArABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmCzvq20ugCsAFgBsAJgBcAKgBUAKwD2BzHWHIifl2p5AAAAAElFTkSuQmCC", "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "html_url": "http://test.host/app/teams/11606/edit", "expires_at": "2022-04-08T12:00:00.000Z", "expired": false, "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T12:00:00.000Z" } } ]
GET /api/v1/time_entries 200 [ { "id": 6129, "time_trackable_id": 36536, "time_tracker_id": 14379, "updated_at": "2022-04-01T12:00:00.000Z", "amount": 0, "input_type": "realtime", "started_at": "2022-04-01T11:00:00.000Z", "stopped_at": "2022-04-01T11:30:00.000Z", "duration": 1800.0, "html_url": "http://test.host/app/mytasks/36536/edit", "user": { "id": 14379, "email": "emile.aufderhar@king.test", "nickname": "Jewel Kunze", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "daily": true, "weekly": true, "calendar_zoom_rate": 1, "daily_time": "08:00", "is_anonymous": false, "has_password": true, "html_url": "http://test.host/app/users/14379/calendar", "is_deactivated": false }, "task": { "id": 36536, "key": "http://lemke.test/albina_lindgren", "title": "Et eius nemo aspernatur.", "url": "http://lemke.test/albina_lindgren", "safe_url": "http://lemke.test/albina_lindgren", "label": "[South Dakota enchanters] Et eius nemo aspernatur.", "team_id": 11607, "parent_id": 36535, "root_id": 36535, "category": { "id": 36535, "title": "key46", "color": 1 }, "team": { "name": "South Dakota enchanters" } }, "formatted_duration": "00:30", "team": { "id": 11607, "name": "South Dakota enchanters", "created_at": "2022-04-01T12:00:00.000Z", "updated_at": "2022-04-01T12:00:00.000Z", "deleted_at": null, "time_limit": 0, "avatar_url": "data:image/png;base64,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", "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "html_url": "http://test.host/app/teams/11607/edit", "expires_at": "2022-04-08T12:00:00.000Z", "expired": false, "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T12:00:00.000Z" } } ]
Params
Param name | Description |
---|---|
stopped_at optional |
Stopped at (unixtime) Validations:
|
started_since optional |
Started at since (unixtime) Validations:
|
started_until optional |
Started at until (unixtime) Validations:
|
created_since optional |
Started at since (unixtime) Validations:
|
updated_since optional |
Updated at since (unixtime) Validations:
|
deleted_since optional |
Deleted at since (unixtime) Validations:
|
input_type optional |
Validations:
|
team_id optional |
Validations:
|
user_id optional |
Validations:
|
category_id optional |
Validations:
|
per_page optional |
Validations:
|
page optional |
Validations:
|
GET /api/v1/time_entries/:id
>>>
Get time entry
Supported Formats
jsonExamples
GET /api/v1/time_entries/6130 200 { "id": 6130, "started_at": "2024-12-17T00:27:08.000Z", "stopped_at": "2024-12-17T01:27:08.000Z", "time_trackable_id": 36539, "time_trackable_type": "Task", "time_tracker_id": 14380, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T01:27:08.000Z", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 11608, "input_type": "realtime", "stopped_at_seconds": 1734398828, "deleted_at_seconds": 0, "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/36539/edit", "user": { "id": 14380, "nickname": "Prof. Jimmie Mraz", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": { "id": 36539, "key": "http://rath-mayer.test/julius_lueilwitz", "title": "Repellat iusto eos atque.", "url": "http://rath-mayer.test/julius_lueilwitz", "team_id": 11608, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T01:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36538, "key": "key47", "title": "key47", "url": null, "team_id": 11608, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T01:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "69ffd2c0e7773667b770899a7e900d1a", "archived": false }, "sequential_id": null, "state": "open", "bill": 0, "ancestry": "36538", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "888686f743bc38ea33fbc6c42cfbbb1e", "archived": false, "team": { "id": 11608, "name": "Kentucky zombies", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12420, "tasks_readonly": false } }, "comment": null, "team": { "id": 11608, "name": "Kentucky zombies", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12420, "tasks_readonly": false }, "category": { "id": 36538, "key": "key47", "title": "key47", "url": null, "team_id": 11608, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T01:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "69ffd2c0e7773667b770899a7e900d1a", "archived": false } }
POST /api/v1/time_entries
>>>
Create a time entry
Supported Formats
jsonExamples
POST /api/v1/time_entries { "task": { "key": "http://wyman.test/liberty", "parent_id": "36543", "team_id": "11609", "title": "Voluptates veritatis porro commodi.", "url": "http://wyman.test/liberty" } } 200 { "id": 6131, "started_at": "2024-12-17T00:27:08.000Z", "stopped_at": null, "time_trackable_id": 36544, "time_trackable_type": "Task", "time_tracker_id": 14381, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "duration": 0.428392839, "amount": 0, "team_id": 11609, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/36544/edit", "user": { "id": 14381, "nickname": "Dwight Mayer", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": "2024-12-17T00:27:08.000Z", "id": 36544, "key": "http://wyman.test/liberty", "title": "Voluptates veritatis porro commodi.", "url": "http://wyman.test/liberty", "team_id": 11609, "created_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36543, "key": "key49", "title": "key49", "url": null, "team_id": 11609, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": "9254884dee5a10d616af3a660054b834", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36543", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "b08624ad2f162387f114fb798ca7884f", "archived": false, "team": { "id": 11609, "name": "Texas dragons", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12421, "tasks_readonly": false } }, "comment": null, "team": { "id": 11609, "name": "Texas dragons", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12421, "tasks_readonly": false }, "category": { "id": 36543, "key": "key49", "title": "key49", "url": null, "team_id": 11609, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": "9254884dee5a10d616af3a660054b834", "archived": false } }
POST /api/v1/time_entries { "parent": { "key": "key52", "title": "key52", "url": "https://example.com" }, "task": { "key": "http://marvin-mraz.example/carson.bahringer", "parent_id": "36546", "team_id": "11610", "title": "Dicta sit alias libero.", "url": "http://marvin-mraz.example/carson.bahringer" } } 200 { "id": 6132, "started_at": "2024-12-17T00:27:08.000Z", "stopped_at": null, "time_trackable_id": 36549, "time_trackable_type": "Task", "time_tracker_id": 14382, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "duration": 0.561577256, "amount": 0, "team_id": 11610, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/36549/edit", "user": { "id": 14382, "nickname": "Nikki Feeney", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": "2024-12-17T00:27:08.000Z", "id": 36549, "key": "http://marvin-mraz.example/carson.bahringer", "title": "Dicta sit alias libero.", "url": "http://marvin-mraz.example/carson.bahringer", "team_id": 11610, "created_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36546, "key": "key50", "title": "key50", "url": null, "team_id": 11610, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "5a8e00b1cd2930e44ed84b8bbbf44f7a", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36546", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "770693dce115db9000ebf65a8277ee16", "archived": false, "team": { "id": 11610, "name": "Wyoming sorcerors", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12422, "tasks_readonly": false } }, "comment": null, "team": { "id": 11610, "name": "Wyoming sorcerors", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12422, "tasks_readonly": false }, "category": { "id": 36546, "key": "key50", "title": "key50", "url": null, "team_id": 11610, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "5a8e00b1cd2930e44ed84b8bbbf44f7a", "archived": false } }
POST /api/v1/time_entries { "parent": { "key": "key55", "title": "key55", "url": "https://example.com" }, "task": { "key": "http://gislason.example/arden", "parent_id": "36551", "team_id": "11611", "title": "Enim ut at accusantium.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678" } } 200 { "id": 6133, "started_at": "2024-12-17T00:27:08.000Z", "stopped_at": null, "time_trackable_id": 36555, "time_trackable_type": "Task", "time_tracker_id": 14383, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "duration": 0.709108131, "amount": 0, "team_id": 11611, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/36555/edit", "user": { "id": 14383, "nickname": "Alayna Marks", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": "2024-12-17T00:27:08.000Z", "id": 36555, "key": "https://www.chatwork.com/#!rid123456-123456789012345678", "title": "Enim ut at accusantium.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678", "team_id": 11611, "created_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36554, "key": "https://example.com", "title": "key55", "url": null, "team_id": 11611, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36554", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "4596a21023f5981ae2c5d023c42466f7", "archived": false, "team": { "id": 11611, "name": "Kansas elephants", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12423, "tasks_readonly": false } }, "comment": null, "team": { "id": 11611, "name": "Kansas elephants", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12423, "tasks_readonly": false }, "category": { "id": 36554, "key": "https://example.com", "title": "key55", "url": null, "team_id": 11611, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false } }
POST /api/v1/time_entries { "parent": { "key": "key58", "title": "key58", "url": "https://example.com" }, "task": { "key": "http://ferry-jenkins.example/ardelle", "parent_id": "36557", "team_id": "11612", "title": "Est aperiam molestias voluptatem.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678" } } 200 { "id": 6134, "started_at": "2024-12-17T00:27:08.000Z", "stopped_at": null, "time_trackable_id": 36561, "time_trackable_type": "Task", "time_tracker_id": 14384, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "duration": 0.838340131, "amount": 0, "team_id": 11612, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/36561/edit", "user": { "id": 14384, "nickname": "Magnolia Kohler Jr.", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": "2024-12-17T00:27:08.000Z", "id": 36561, "key": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "title": "Est aperiam molestias voluptatem.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "team_id": 11612, "created_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36560, "key": "https://example.com", "title": "key58", "url": null, "team_id": 11612, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36560", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "e77522b6b66d893e2e207478ae663f1b", "archived": false, "team": { "id": 11612, "name": "Iowa oxen", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12424, "tasks_readonly": false } }, "comment": null, "team": { "id": 11612, "name": "Iowa oxen", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12424, "tasks_readonly": false }, "category": { "id": 36560, "key": "https://example.com", "title": "key58", "url": null, "team_id": 11612, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false } }
POST /api/v1/time_entries { "time_entry": { "started_at": "1734308828", "stopped_at": "1734391628", "time_trackable_id": "36564" } } 200 { "id": 6135, "started_at": "2024-12-16T00:27:08.000Z", "stopped_at": "2024-12-16T23:27:08.000Z", "time_trackable_id": 36564, "time_trackable_type": "Task", "time_tracker_id": 14385, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "duration": 82800.0, "amount": 0, "team_id": 11613, "input_type": "realtime", "stopped_at_seconds": 1734391628, "deleted_at_seconds": 0, "formatted_duration": "23:00", "html_url": "http://test.host/app/mytasks/36564/edit", "user": { "id": 14385, "nickname": "Collen Reilly PhD", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:08.000Z", "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": "2024-12-17T00:27:08.000Z", "id": 36564, "key": "http://vonrueden.example/avril", "title": "Et nostrum voluptate consectetur.", "url": "http://vonrueden.example/avril", "team_id": 11613, "created_at": "2024-12-17T00:27:08.000Z", "deleted_at": null, "description": null, "category": { "id": 36563, "key": "key59", "title": "key59", "url": null, "team_id": 11613, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "abaa7d430409339e96b89987e883ed1b", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36563", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "1662ba8163ac186537e485243dd98c53", "archived": false, "team": { "id": 11613, "name": "Texas giants", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12425, "tasks_readonly": false } }, "comment": null, "team": { "id": 11613, "name": "Texas giants", "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 12425, "tasks_readonly": false }, "category": { "id": 36563, "key": "key59", "title": "key59", "url": null, "team_id": 11613, "created_at": "2024-12-17T00:27:08.000Z", "updated_at": "2024-12-17T00:27:08.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "abaa7d430409339e96b89987e883ed1b", "archived": false } }
POST /api/v1/time_entries { "task": { "key": "http://friesen.example/renato", "team_id": "11614", "title": "Nam non debitis dolor.", "url": "http://friesen.example/renato" } } 422 { "messages": [ "選択中のチームでタスクの作成・編集・削除は許可されていません" ] }
POST /api/v1/time_entries { "task": { "key": "http://dickens.test/tabetha_conn", "parent_id": "36567", "team_id": "11615", "title": "Est facilis asperiores nostrum.", "url": "http://dickens.test/tabetha_conn" } } 422 { "messages": [ "1 error prohibited this Task from being saved. ", "Category is already deleted." ] }
PATCH /api/v1/time_entries/:id
>>>
Update a time entry
Supported Formats
jsonExamples
PATCH /api/v1/time_entries/6136 { "time_entry": { "started_at": "1734308829", "time_trackable_id": "36572" } } 200 { "started_at": "2024-12-16T00:27:09.000Z", "time_trackable_id": 36572, "team_id": 11616, "time_tracker_id": 14388, "time_tracker_type": "User", "deleted_at": null, "id": 6136, "input_type": "realtime", "stopped_at": "2024-12-17T01:27:09.000Z", "stopped_at_seconds": 1734398829, "deleted_at_seconds": 0, "duration": 90000.0, "amount": 0, "time_trackable_type": "Task", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "formatted_duration": "25:00", "html_url": "http://test.host/app/mytasks/36572/edit", "user": { "id": 14388, "nickname": "Seymour Torp", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:09.000Z", "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": "2024-12-17T00:27:09.000Z", "id": 36572, "key": "http://hirthe-prohaska.example/lona.altenwerth", "title": "Vero nam porro nesciunt.", "url": "http://hirthe-prohaska.example/lona.altenwerth", "team_id": 11616, "created_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "description": null, "category": { "id": 36571, "key": "key64", "title": "key64", "url": null, "team_id": 11616, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": "68c80146ebd178ece3d4f17554d1af74", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36571", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "29f85a5dcb42405e8638166d854d432c", "archived": false, "team": { "id": 11616, "name": "Louisiana pigs", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12428, "tasks_readonly": false } }, "comment": null, "team": { "id": 11616, "name": "Louisiana pigs", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12428, "tasks_readonly": false }, "category": { "id": 36571, "key": "key64", "title": "key64", "url": null, "team_id": 11616, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": "68c80146ebd178ece3d4f17554d1af74", "archived": false } }
PATCH /api/v1/time_entries/6137 {} 200 { "id": 6137, "started_at": "2024-12-17T00:27:09.000Z", "stopped_at": "2024-12-17T01:27:09.000Z", "time_trackable_id": 36575, "time_trackable_type": "Task", "time_tracker_id": 14389, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 11617, "input_type": "realtime", "stopped_at_seconds": 1734398829, "deleted_at_seconds": 0, "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/36575/edit", "user": { "id": 14389, "nickname": "Leif Harris", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:09.000Z", "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": { "id": 36575, "key": "http://denesik.example/charlette", "title": "Fugiat maxime voluptatem ratione.", "url": "http://denesik.example/charlette", "team_id": 11617, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "deleted_at": null, "description": null, "category": { "id": 36574, "key": "key65", "title": "key65", "url": null, "team_id": 11617, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "1add6a70aef48da2cbdf222441b54815", "archived": false }, "sequential_id": null, "state": "open", "bill": 0, "ancestry": "36574", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "84048cc0ee0e8c77dd4c7cd12f02c32e", "archived": false, "team": { "id": 11617, "name": "Illinois dolphins", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "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": 12429, "tasks_readonly": false } }, "comment": null, "team": { "id": 11617, "name": "Illinois dolphins", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "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": 12429, "tasks_readonly": false }, "category": { "id": 36574, "key": "key65", "title": "key65", "url": null, "team_id": 11617, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T01:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "1add6a70aef48da2cbdf222441b54815", "archived": false } }
PATCH /api/v1/time_entries/:id/stop
>>>
Stop a time entry
Supported Formats
jsonExamples
PATCH /api/v1/time_entries/6171/stop 200 { "stopped_at": "2024-12-17T00:27:13.000Z", "team_id": 11643, "time_trackable_id": 36645, "time_trackable_type": "Task", "time_tracker_id": 14411, "time_tracker_type": "User", "deleted_at": null, "id": 6171, "started_at": "2024-12-17T00:27:13.000Z", "input_type": "realtime", "stopped_at_seconds": 1734395233, "deleted_at_seconds": 0, "duration": 0.0, "amount": 0, "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "formatted_duration": "00:00", "html_url": "http://www.example.com/app/mytasks/36645/edit", "user": { "id": 14411, "nickname": "Gov. Eulalia Predovic", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:13.000Z", "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": "2024-12-17T00:27:13.000Z", "id": 36645, "key": "Debitisomnisdoloreeaque", "title": "Debitis omnis dolore eaque.", "url": "", "team_id": 11643, "created_at": "2024-12-17T00:27:13.000Z", "deleted_at": null, "description": null, "category": { "id": 36644, "key": "key88", "title": "key88", "url": null, "team_id": 11643, "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "3180155ad5bc74501315acac18382334", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36644", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "0bbecc99a1e639814422ffcdf6b004d5", "archived": false, "team": { "id": 11643, "name": "Delaware owls", "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "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": 12455, "tasks_readonly": false } }, "comment": null, "team": { "id": 11643, "name": "Delaware owls", "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "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": 12455, "tasks_readonly": false }, "category": { "id": 36644, "key": "key88", "title": "key88", "url": null, "team_id": 11643, "created_at": "2024-12-17T00:27:13.000Z", "updated_at": "2024-12-17T00:27:13.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "3180155ad5bc74501315acac18382334", "archived": false } }
PATCH /api/v1/time_entries/6172/stop 403 { "messages": [ "You are not authorized to access this page." ] }
DELETE /api/v1/time_entries/:id
>>>
Destroy a time entry
Supported Formats
jsonExamples
DELETE /api/v1/time_entries/6140 {} 204
POST /api/v1/time_entries/:id/comments
>>>
Create a comment
Supported Formats
jsonExamples
POST /api/v1/time_entries/6138/comments { "comment": { "content": "Comment😊" } } 200 { "id": 6138, "started_at": "2024-12-17T00:27:09.000Z", "stopped_at": "2024-12-17T01:27:09.000Z", "time_trackable_id": 36578, "time_trackable_type": "Task", "time_tracker_id": 14390, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 11618, "input_type": "realtime", "stopped_at_seconds": 1734398829, "deleted_at_seconds": 0, "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/36578/edit", "user": { "id": 14390, "nickname": "Theron MacGyver Esq.", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:09.000Z", "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": "2024-12-17T00:27:09.000Z", "id": 36578, "key": "http://waters.example/ian_predovic", "title": "Tempora est rem sed.", "url": "http://waters.example/ian_predovic", "team_id": 11618, "created_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "description": null, "category": { "id": 36577, "key": "key66", "title": "key66", "url": null, "team_id": 11618, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "cacdcd15544512fd8e50f2417c5f33aa", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36577", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "7f3438c1c52a95968531c7ee1d2e2136", "archived": false, "team": { "id": 11618, "name": "Maine cattle", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12430, "tasks_readonly": false } }, "comment": { "id": 619, "content": "Comment😊", "commentable_id": 6138, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 14390, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null }, "team": { "id": 11618, "name": "Maine cattle", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12430, "tasks_readonly": false }, "category": { "id": 36577, "key": "key66", "title": "key66", "url": null, "team_id": 11618, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "cacdcd15544512fd8e50f2417c5f33aa", "archived": false } }
POST /api/v1/time_entries/6139/comments { "comment": { "content": "Comment_2" } } 200 { "id": 6139, "started_at": "2024-12-17T00:27:09.000Z", "stopped_at": "2024-12-17T01:27:09.000Z", "time_trackable_id": 36581, "time_trackable_type": "Task", "time_tracker_id": 14391, "time_tracker_type": "User", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 11619, "input_type": "realtime", "stopped_at_seconds": 1734398829, "deleted_at_seconds": 0, "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/36581/edit", "user": { "id": 14391, "nickname": "Ali Schiller", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T08:00:00.000Z", "weekly": true, "time_zone": "UTC", "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": "2024-12-17T00:27:09.000Z", "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": "2024-12-17T00:27:09.000Z", "id": 36581, "key": "http://bode.test/delsie", "title": "Ea autem iure doloribus.", "url": "http://bode.test/delsie", "team_id": 11619, "created_at": "2024-12-17T00:27:09.000Z", "deleted_at": null, "description": null, "category": { "id": 36580, "key": "key67", "title": "key67", "url": null, "team_id": 11619, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "2b5103582df79747d3978ada467a799e", "archived": false }, "sequential_id": null, "bill": 0, "ancestry": "36580", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "6ef986662d5af7dd0090340cf27e52ae", "archived": false, "team": { "id": 11619, "name": "Alaska tigers", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12431, "tasks_readonly": false } }, "comment": { "id": 620, "content": "Comment_2", "commentable_id": 6139, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 14391, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "deleted_at": null }, "team": { "id": 11619, "name": "Alaska tigers", "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 12431, "tasks_readonly": false }, "category": { "id": 36580, "key": "key67", "title": "key67", "url": null, "team_id": 11619, "created_at": "2024-12-17T00:27:09.000Z", "updated_at": "2024-12-17T00:27:09.000Z", "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": 2, "deleted_at_seconds": 0, "key_md5": "2b5103582df79747d3978ada467a799e", "archived": false } }