※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。

Supported Formats

json

サポートフォーマット

json

GET /api/v1/time_entries
200
[
  {
    "id": 2043,
    "time_trackable_id": 7467,
    "time_tracker_id": 3079,
    "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/7467/edit",
    "user": {
      "id": 3079,
      "email": "linette@bogisich.example",
      "nickname": "Hershel Paucek",
      "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,
      "notify_exported": true,
      "calendar_zoom_rate": 1,
      "daily_time": "08:00",
      "is_anonymous": false,
      "has_password": true,
      "html_url": "http://test.host/app/users/3079/calendar",
      "is_deactivated": false
    },
    "task": {
      "id": 7467,
      "key": "http://labadie.example/quintin",
      "title": "Doloribus at in maiores.",
      "url": "http://labadie.example/quintin",
      "safe_url": "http://labadie.example/quintin",
      "label": "[Washington crows] Doloribus at in maiores.",
      "team_id": 3028,
      "parent_id": 7466,
      "root_id": 7466,
      "category": {
        "id": 7466,
        "title": "key54",
        "color": 1
      },
      "team": {
        "name": "Washington crows"
      }
    },
    "formatted_duration": "00:30",
    "team": {
      "id": 3028,
      "name": "Washington crows",
      "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///////8JWPfcAAAJWklEQVR42u1cbXBU1Rl+NtlsvvcLStIU1IEUBTF0nIShiYmQmFBQYltIK2YEMxgzLWWAYRykllJEp6U1fjSlGtGh1AFKrbbBkIgxRsgULCIDgUJkgDIkVUT27uabfLH9cfZqPu5577l379390X1+bface+577nPu+77Pe87G4vcfOhQbiwjChKhwG/D/jggBYUaEgDAjQkCYESEgzIgQEGZECAgzIgSEGdbRf6ZdrvglkL78pZ/zL7kx5+J54Nhzd2aEw+C0XY8/A8S8nvKEUuvnF3asBQY+u/pyaK1y7M7eDsyu/mAlv4/3zYa3gdMpix8e+e0YAjyZB1qAdLxE3Czu2LTpQPziqbOAvicunQnVJKNnJdUA08qfLwcssPqV+gxav/wV8BleCZVRAbhKCn+o1seTdaAFwJXR345xQf3X2/8B9Pz69BQjbmnwJEvzVwGWudYr/D4TKhdlhtYqBvfSItWnITECxkAxBniyalvUhnNXFT0Q2km6BO7o3HnvL4Dovyc0hsqqmDfclUDS+rs/5vdhC/rGW21149sUCZDW1x1XnerFeRuAqA0xF0I1VfdS9XfO0h17EnCW5q8KlVWu1oLlADZZuvl9qAWtSEDnqeMLgMGV137HHzRKSqwH7BXZr5o/yYTm2+1A7Mlb88T6h9IRuQScj6e3tpXXppyGHvbbAKmm/oja0KFxRFrv4i5e+F3zrWJwTbrvIX4ry8e6ik/k8HoQOsCTdeC06u2XFi0JwSQ1EmBb9s2VQFLv7HNmWpU4dKdPvhcP0vq6TxBY0MogCPDe8f4uwH//wEzCiI13tQG2tNSfmDPJqO7Yk4BjWu5vlFpp2yZU3m+qIxLJfFhaT86Q3zT8g94CwDf1w9+qmmJaSsqymqi7444ptbbv+/1eAIehuL7cJkcCOhG/eeLGHMBb0fgaPYpqKcKTpcahWCDSOUnS+Ui+dz8Eeu9p7VRqTfZlNgG2Fd94ymir2IJwtN/zPL+Pr6LxNZkGciy1m4mkpCwVs5CpmD7wwq//o6FbgC7n8flAV8vxBYoX52EAcDu/N89oq9h7aTlgO8vvo+58GFQJYPKh58iZFH4f6xvuSnnFGYW4k7fmAfHPTp+o1NpdeSJLXl9dVccW88cxwxGpVAEOwwZ4WPhVhWA11JOpro2NdUR06tlRfaRc/txJEuCaVPiQWgFDs20kAd3Fn+SIFwQFCZAEIoGxmoD2/r7dTX+UP/ccOZ0CDG/vKlHqyUp4zrK8p42wKm7JlEVAfPPtdn4fSnaNhyABIto4eXbWQcA63Vkd3CTZanVOnr9OqdW/bTAd6LjUvOGrb2zDqUDHnw5v4o/pfnBhdnBWMbgEyiEilbSvIbohI6KNG6IkwFVd8Fhwk3RUZL8qr9zx6Jz00TI5RR4J74h3YjwmPGdMJHCVFBLCs/+ttjqgW6CW/DU07YiJBJbgHZGrqojw6d4ZjX9W+t5X8QGRcbM9jAROSBeBhS2vh/N/SjwfAUc9FpoI8F5r2KumP4PfJ3BXLaC8P0fa9Gw5a1ULfe5i/Y4oefWcd4Doq46d/D7avD+DJgJEtLHt5bRHgMTGmb3aJ2m7kLIGSMy56wul1qFHpPVy7s8D2/bjIZgqKZ35DJ/pfhDoKDv0jNZxdWzKC2njEj0pacB95WFAqVXKOPge4N/qT+KPwLQxD/Y9OX8ArPvsu7XbRifZ3msNfwFubhtM1zquDgJEtLG+SOAinY+0v061PM4eBGzDqUqtLL/S6iRjyl1VajJTj/Nh0EGAiDZmdZLodfHNYmOyMobrXMFyxebCm25AIt0Lw9CPO0tHy7TxmFC8SFMkcFbnPwb+nhezjXzzKOg+F0RrY1Yncey8d5PYaMkZWQcBa7mrSqm189zRFcDQeV+F2GiS791D/FZXy4IiLZUruuzM0uLBWzwb9T1H3QQYq41p5+PZr743N8o2sn/MbRO3yFmNkG2T7ltG2Japvm1FQTcBAW2868tnCdOFCaCpkmrqjmqxjaWk/WuuvE/cUSAlTdw8cwiwnf3Wj/h99Ht/Bv1HE5k2JtdafFz6bXJdkwc6xDFt2VNwNkG7gbRfFtkvo/d72QnB3txPO9XGoRDk2VCRF9BVnU+ERDrESRqdz6hrSQLYZmosuboDtvHm3hfc2mcIkgARbewkq0N0iBM5mcGDr73pBcCf1P8d4u6c7RrLQPRVwDk1dxv/WtEtFxpBEhDQxo9SCtA5ed5aAHkWRXnlbC1YofR9YE+1velF3ba90JcL+Eh16lqqXFxjLpGdfRoPlo91lP7zZ8E9PcCg4+m0NmZZR1LOrDEFhoSib6cBsRMnf1/pKlbwUN9TVQPtiFyT56+VC20jwTYdefAyTc6Re9pgCAEiKamzumBMJHCWzicqi8F4f/FxWHFtfArgeDR3K/8qbRV/GoYQIKKNA45o9Dfr+P2D8f4j0ffOf04AfU+dv07YNmK9M4FmvzZ3r2JX23CqXJUyBgb+QobWxo6K7B2j9adjqvJxq94t56zADTKL1wr6PXDszPtKsSduzGgDolclv6nU03ep+Um54GEMDCSALtJF77PvBhLrZ1+UD9vGcE7siBTdNNtGRoLA4hiIvip/5iFY2TUeBhLQ1fKxqjZmiZ1jT/Z2YpI19Zp0rwh8F5uflKv2Cg9BSqwHkjZmtAH2xykCRKKdNhhIAKvUq7zsZblPA/Yv5u5Rah1O7SgDOluProDBYAe5fBWNxMNlj95+x9xdSq3MMbKIYiQM/5UkrY0dZXlb+bm/9LeGt41K7xRtI9+t1DXLG4DYJVMWKV6bVRtU0Y0HwwnwzqDOVLNDK7zcX6ox3vuPGp8uTpDH2Y3RveNhOAHD7p6FatpYAcx9rX6v1oxJymBb9j0LW6ZpuWrw8vXNQFfJv0z5JYRJP9TWekAjEMAvX99sjj2jbNP4njFFQu9F64dJBGjNFoySXUL30rh96Omt/dQ8a0wigGnjXuu/nYKTNCH354E5E3bIhQaLZCyqmQVT/1eESOYwsPfz14HuhFMzzLRkJJgz8Qps8fvam16Uo5pZMJcAgcxB/3mCIG0TeOfMynxGwlQCRLSxtN943SsCL8u4Cm+6+X30nPXUClMJoLUxO2juJdWpeRjc4V3N/3FHT8KpGUD/zP/+1Ww7LJH/GxpeRP5hU5gRISDMiBAQZkQICDMiBIQZEQLCjAgBYcb/AJrS3eCT8Y3dAAAAAElFTkSuQmCC",
      "personal": false,
      "premium": false,
      "ancestry": null,
      "rounding": "floor",
      "capacity": null,
      "html_url": "http://localhost:3000/app/teams/3028/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": 2044,
    "time_trackable_id": 7470,
    "time_tracker_id": 3080,
    "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/7470/edit",
    "user": {
      "id": 3080,
      "email": "cicely.wolff@daniel.example",
      "nickname": "Mrs. Rosalie Osinski",
      "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,
      "notify_exported": true,
      "calendar_zoom_rate": 1,
      "daily_time": "08:00",
      "is_anonymous": false,
      "has_password": true,
      "html_url": "http://test.host/app/users/3080/calendar",
      "is_deactivated": false
    },
    "task": {
      "id": 7470,
      "key": "http://ledner-klocko.test/granville",
      "title": "Non ut at aliquam.",
      "url": "http://ledner-klocko.test/granville",
      "safe_url": "http://ledner-klocko.test/granville",
      "label": "[Texas dogs] Non ut at aliquam.",
      "team_id": 3029,
      "parent_id": 7469,
      "root_id": 7469,
      "category": {
        "id": 7469,
        "title": "key55",
        "color": 1
      },
      "team": {
        "name": "Texas dogs"
      }
    },
    "formatted_duration": "00:30",
    "team": {
      "id": 3029,
      "name": "Texas dogs",
      "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///////8JWPfcAAABQklEQVR42u3coU7DUBxG8e82ZAJBMDiyBAc8AB4sYpoH2EMsFbwAFjmLAUJwGByPQBUGgSFBkIlNLKG8wMQSyk4G52dvcvNvT3pFk7a0bdMMBhGkogf47wwAMwDMADADwAwAMwBso8O9Dst9Us6rHfqift3N1zhpr9vxz7fqMMDW9tFjsvs5OuHuzGpM+k8PyVsuOtjLIwhmAJgBYAaAlXV7G7p/d3WaVPXmcNHq9LI5S16P6xk957J8AmAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgBYl7+rWYmPg9uXpKRXFq3O996fkyQ1Peey1u5L+b/GIwhmAJgBYAaAGQBmAJgBYN/kGykjgYnfBQAAAABJRU5ErkJggg==",
      "personal": false,
      "premium": false,
      "ancestry": null,
      "rounding": "floor",
      "capacity": null,
      "html_url": "http://localhost:3000/app/teams/3029/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"
    }
  }
]

パラメーター

パラメーター名 記述
stopped_at
任意

Stopped at(unixtime)

Validations:

  • Must be a number.

started_since
任意

Started at since(unixtime)

Validations:

  • Must be a number.

started_until
任意

Started at until(unixtime)

Validations:

  • Must be a number.

created_since
任意

Started at until(unixtime)

Validations:

  • Must be a number.

updated_since
任意

Started at until(unixtime)

Validations:

  • Must be a number.

deleted_since
任意

Started at until(unixtime)

Validations:

  • Must be a number.

input_type
任意

Validations:

  • Must be one of: realtime, manual, automation.

team_id
任意

Validations:

  • Must be a number.

user_id
任意

Validations:

  • Must be a number.

category_id
任意

Validations:

  • Must be a number.

per_page
任意

Validations:

  • Must be a number.

page
任意

Validations:

  • Must be a number.


サポートフォーマット

json

GET /api/v1/time_entries/2045
200
{
  "id": 2045,
  "started_at": "2024-04-17T23:31:02.000Z",
  "stopped_at": "2024-04-18T00:31:02.000Z",
  "time_trackable_id": 7473,
  "time_trackable_type": "Task",
  "time_tracker_id": 3081,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:02.000Z",
  "updated_at": "2024-04-18T00:31:02.000Z",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 3030,
  "input_type": "realtime",
  "stopped_at_seconds": 1713400262,
  "deleted_at_seconds": 0,
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/7473/edit",
  "user": {
    "id": 3081,
    "nickname": "Emmy Schoen",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:02.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-04-17T23:31:02.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7473,
    "key": "http://crist-moen.example/rich",
    "title": "Odit eius culpa nulla.",
    "url": "http://crist-moen.example/rich",
    "team_id": 3030,
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-18T00:31:02.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7472,
      "key": "key56",
      "title": "key56",
      "url": null,
      "team_id": 3030,
      "created_at": "2024-04-17T23:31:02.000Z",
      "updated_at": "2024-04-18T00:31:02.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": "10b170c60a971aa9e53c7b2bc701327c",
      "archived": false
    },
    "sequential_id": null,
    "state": "open",
    "bill": 0,
    "ancestry": "7472",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "54524461b17e4a15df2ba731f78c05a7",
    "archived": false,
    "team": {
      "id": 3030,
      "name": "California pigs",
      "created_at": "2024-04-17T23:31:02.000Z",
      "updated_at": "2024-04-17T23:31:02.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3030,
    "name": "California pigs",
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:02.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7472,
    "key": "key56",
    "title": "key56",
    "url": null,
    "team_id": 3030,
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-18T00:31:02.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": "10b170c60a971aa9e53c7b2bc701327c",
    "archived": false
  }
}

POST /api/v1/time_entries >>>
Create a time entry

サポートフォーマット

json

POST /api/v1/time_entries
{
  "task": {
    "key": "http://walker.example/errol",
    "parent_id": "7477",
    "team_id": "3031",
    "title": "Voluptatem dolores molestias nostrum.",
    "url": "http://walker.example/errol"
  }
}
200
{
  "id": 2046,
  "started_at": "2024-04-17T23:31:02.000Z",
  "stopped_at": null,
  "time_trackable_id": 7478,
  "time_trackable_type": "Task",
  "time_tracker_id": 3082,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:03.000Z",
  "updated_at": "2024-04-17T23:31:03.000Z",
  "deleted_at": null,
  "duration": 1.103829262,
  "amount": 0,
  "team_id": 3031,
  "input_type": "realtime",
  "stopped_at_seconds": 0,
  "deleted_at_seconds": 0,
  "formatted_duration": "00:00",
  "html_url": "http://test.host/app/mytasks/7478/edit",
  "user": {
    "id": 3082,
    "nickname": "Miss Roselyn Bergnaum",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:03.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-04-17T23:31:02.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7478,
    "key": "http://walker.example/errol",
    "title": "Voluptatem dolores molestias nostrum.",
    "url": "http://walker.example/errol",
    "team_id": 3031,
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:03.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7477,
      "key": "key58",
      "title": "key58",
      "url": null,
      "team_id": 3031,
      "created_at": "2024-04-17T23:31:02.000Z",
      "updated_at": "2024-04-17T23:31:03.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": "abd0df7f6e92e1ca80a44b9d13e5cdc3",
      "archived": false
    },
    "sequential_id": null,
    "state": "open",
    "bill": 0,
    "ancestry": "7477",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "edf232200c9d2df54e5809ecc6cedbf7",
    "archived": false,
    "team": {
      "id": 3031,
      "name": "Mississippi pigs",
      "created_at": "2024-04-17T23:31:02.000Z",
      "updated_at": "2024-04-17T23:31:03.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3031,
    "name": "Mississippi pigs",
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:03.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7477,
    "key": "key58",
    "title": "key58",
    "url": null,
    "team_id": 3031,
    "created_at": "2024-04-17T23:31:02.000Z",
    "updated_at": "2024-04-17T23:31:03.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": "abd0df7f6e92e1ca80a44b9d13e5cdc3",
    "archived": false
  }
}
POST /api/v1/time_entries
{
  "parent": {
    "key": "key61",
    "title": "key61",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://pacocha-lockman.test/tasha",
    "parent_id": "7480",
    "team_id": "3032",
    "title": "Pariatur blanditiis a id.",
    "url": "http://pacocha-lockman.test/tasha"
  }
}
200
{
  "id": 2047,
  "started_at": "2024-04-17T23:31:03.000Z",
  "stopped_at": null,
  "time_trackable_id": 7483,
  "time_trackable_type": "Task",
  "time_tracker_id": 3083,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:03.000Z",
  "updated_at": "2024-04-17T23:31:03.000Z",
  "deleted_at": null,
  "duration": 0.512429596,
  "amount": 0,
  "team_id": 3032,
  "input_type": "realtime",
  "stopped_at_seconds": 0,
  "deleted_at_seconds": 0,
  "formatted_duration": "00:00",
  "html_url": "http://test.host/app/mytasks/7483/edit",
  "user": {
    "id": 3083,
    "nickname": "Theo Cruickshank",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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-04-17T23:31:03.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7483,
    "key": "http://pacocha-lockman.test/tasha",
    "title": "Pariatur blanditiis a id.",
    "url": "http://pacocha-lockman.test/tasha",
    "team_id": 3032,
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7480,
      "key": "key59",
      "title": "key59",
      "url": null,
      "team_id": 3032,
      "created_at": "2024-04-17T23:31:03.000Z",
      "updated_at": "2024-04-17T23:31:03.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,
    "state": "open",
    "bill": 0,
    "ancestry": "7480",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "3ca95c70ecb9ad18eded41e21b8d4ba6",
    "archived": false,
    "team": {
      "id": 3032,
      "name": "Georgia tigers",
      "created_at": "2024-04-17T23:31:03.000Z",
      "updated_at": "2024-04-17T23:31:03.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3032,
    "name": "Georgia tigers",
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7480,
    "key": "key59",
    "title": "key59",
    "url": null,
    "team_id": 3032,
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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
{
  "parent": {
    "key": "key64",
    "title": "key64",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://ohara.example/felton_smitham",
    "parent_id": "7485",
    "team_id": "3033",
    "title": "Ab et enim ullam.",
    "url": "https://www.chatwork.com/#!rid123456-123456789012345678"
  }
}
200
{
  "id": 2048,
  "started_at": "2024-04-17T23:31:03.000Z",
  "stopped_at": null,
  "time_trackable_id": 7489,
  "time_trackable_type": "Task",
  "time_tracker_id": 3084,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:03.000Z",
  "updated_at": "2024-04-17T23:31:03.000Z",
  "deleted_at": null,
  "duration": 0.965804929,
  "amount": 0,
  "team_id": 3033,
  "input_type": "realtime",
  "stopped_at_seconds": 0,
  "deleted_at_seconds": 0,
  "formatted_duration": "00:00",
  "html_url": "http://test.host/app/mytasks/7489/edit",
  "user": {
    "id": 3084,
    "nickname": "Hipolito Raynor V",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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-04-17T23:31:03.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7489,
    "key": "https://www.chatwork.com/#!rid123456-123456789012345678",
    "title": "Ab et enim ullam.",
    "url": "https://www.chatwork.com/#!rid123456-123456789012345678",
    "team_id": 3033,
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7488,
      "key": "https://example.com",
      "title": "key64",
      "url": null,
      "team_id": 3033,
      "created_at": "2024-04-17T23:31:03.000Z",
      "updated_at": "2024-04-17T23:31:03.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,
    "state": "open",
    "bill": 0,
    "ancestry": "7488",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "4596a21023f5981ae2c5d023c42466f7",
    "archived": false,
    "team": {
      "id": 3033,
      "name": "California goblins",
      "created_at": "2024-04-17T23:31:03.000Z",
      "updated_at": "2024-04-17T23:31:03.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3033,
    "name": "California goblins",
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7488,
    "key": "https://example.com",
    "title": "key64",
    "url": null,
    "team_id": 3033,
    "created_at": "2024-04-17T23:31:03.000Z",
    "updated_at": "2024-04-17T23:31:03.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": "key67",
    "title": "key67",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://mayert-heathcote.test/ben.dicki",
    "parent_id": "7491",
    "team_id": "3034",
    "title": "Doloremque sequi ut maxime.",
    "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678"
  }
}
200
{
  "id": 2049,
  "started_at": "2024-04-17T23:31:04.000Z",
  "stopped_at": null,
  "time_trackable_id": 7495,
  "time_trackable_type": "Task",
  "time_tracker_id": 3085,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:04.000Z",
  "updated_at": "2024-04-17T23:31:04.000Z",
  "deleted_at": null,
  "duration": 0.411118346,
  "amount": 0,
  "team_id": 3034,
  "input_type": "realtime",
  "stopped_at_seconds": 0,
  "deleted_at_seconds": 0,
  "formatted_duration": "00:00",
  "html_url": "http://test.host/app/mytasks/7495/edit",
  "user": {
    "id": 3085,
    "nickname": "Dudley Franecki",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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-04-17T23:31:04.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7495,
    "key": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678",
    "title": "Doloremque sequi ut maxime.",
    "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678",
    "team_id": 3034,
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7494,
      "key": "https://example.com",
      "title": "key67",
      "url": null,
      "team_id": 3034,
      "created_at": "2024-04-17T23:31:04.000Z",
      "updated_at": "2024-04-17T23:31:04.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,
    "state": "open",
    "bill": 0,
    "ancestry": "7494",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "e77522b6b66d893e2e207478ae663f1b",
    "archived": false,
    "team": {
      "id": 3034,
      "name": "Pennsylvania vixens",
      "created_at": "2024-04-17T23:31:04.000Z",
      "updated_at": "2024-04-17T23:31:04.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3034,
    "name": "Pennsylvania vixens",
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7494,
    "key": "https://example.com",
    "title": "key67",
    "url": null,
    "team_id": 3034,
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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": "1713310264",
    "stopped_at": "1713393064",
    "time_trackable_id": "7498"
  }
}
200
{
  "id": 2050,
  "started_at": "2024-04-16T23:31:04.000Z",
  "stopped_at": "2024-04-17T22:31:04.000Z",
  "time_trackable_id": 7498,
  "time_trackable_type": "Task",
  "time_tracker_id": 3086,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:04.000Z",
  "updated_at": "2024-04-17T23:31:04.000Z",
  "deleted_at": null,
  "duration": 82800.0,
  "amount": 0,
  "team_id": 3035,
  "input_type": "realtime",
  "stopped_at_seconds": 1713393064,
  "deleted_at_seconds": 0,
  "formatted_duration": "23:00",
  "html_url": "http://test.host/app/mytasks/7498/edit",
  "user": {
    "id": 3086,
    "nickname": "Fr. Flora Heller",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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-04-17T23:31:04.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7498,
    "key": "http://wyman-morar.example/isiah",
    "title": "Beatae fuga eum repellendus.",
    "url": "http://wyman-morar.example/isiah",
    "team_id": 3035,
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7497,
      "key": "key68",
      "title": "key68",
      "url": null,
      "team_id": 3035,
      "created_at": "2024-04-17T23:31:04.000Z",
      "updated_at": "2024-04-17T23:31:04.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": "70667241a503bb4f291ca9837c168038",
      "archived": false
    },
    "sequential_id": null,
    "state": "open",
    "bill": 0,
    "ancestry": "7497",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "653106f560b3a55f9cdf97ca13590680",
    "archived": false,
    "team": {
      "id": 3035,
      "name": "Tennessee kangaroos",
      "created_at": "2024-04-17T23:31:04.000Z",
      "updated_at": "2024-04-17T23:31:04.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3035,
    "name": "Tennessee kangaroos",
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7497,
    "key": "key68",
    "title": "key68",
    "url": null,
    "team_id": 3035,
    "created_at": "2024-04-17T23:31:04.000Z",
    "updated_at": "2024-04-17T23:31:04.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": "70667241a503bb4f291ca9837c168038",
    "archived": false
  }
}
POST /api/v1/time_entries
{
  "task": {
    "key": "http://block-hudson.test/holly_lowe",
    "team_id": "3036",
    "title": "Aperiam cumque ut hic.",
    "url": "http://block-hudson.test/holly_lowe"
  }
}
422
{
  "messages": [
    "選択中のチームでタスクの作成・編集・削除は許可されていません"
  ]
}
POST /api/v1/time_entries
{
  "task": {
    "key": "http://ullrich.example/dirk.murphy",
    "parent_id": "7501",
    "team_id": "3037",
    "title": "Facilis autem laboriosam et.",
    "url": "http://ullrich.example/dirk.murphy"
  }
}
422
{
  "messages": [
    "1 error prohibited this Task from being saved. ",
    "Category is already deleted."
  ]
}

サポートフォーマット

json

PATCH /api/v1/time_entries/2051
{
  "time_entry": {
    "started_at": "1713310265",
    "time_trackable_id": "7506"
  }
}
200
{
  "started_at": "2024-04-16T23:31:05.000Z",
  "time_trackable_id": 7506,
  "team_id": 3038,
  "id": 2051,
  "input_type": "realtime",
  "stopped_at": "2024-04-18T00:31:05.000Z",
  "deleted_at": null,
  "stopped_at_seconds": 1713400265,
  "deleted_at_seconds": 0,
  "duration": 90000.0,
  "amount": 0,
  "time_trackable_type": "Task",
  "time_tracker_id": 3089,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:05.000Z",
  "updated_at": "2024-04-17T23:31:05.000Z",
  "formatted_duration": "25:00",
  "html_url": "http://test.host/app/mytasks/7506/edit",
  "user": {
    "id": 3089,
    "nickname": "Fr. Alfred Beahan",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-17T23:31:05.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-04-17T23:31:05.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "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-04-17T23:31:05.000Z",
    "id": 7506,
    "key": "http://feest.example/ramiro_block",
    "title": "Qui incidunt sit optio.",
    "url": "http://feest.example/ramiro_block",
    "team_id": 3038,
    "created_at": "2024-04-17T23:31:05.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7505,
      "key": "key73",
      "title": "key73",
      "url": null,
      "team_id": 3038,
      "created_at": "2024-04-17T23:31:05.000Z",
      "updated_at": "2024-04-17T23:31:05.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": "1961287c4fdc07479cb6454bca170e07",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "7505",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "e7ca17b6a6c7a48cb2e8a595fafee5ee",
    "archived": false,
    "team": {
      "id": 3038,
      "name": "Texas dwarves",
      "created_at": "2024-04-17T23:31:05.000Z",
      "updated_at": "2024-04-17T23:31:05.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3038,
    "name": "Texas dwarves",
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-17T23:31:05.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7505,
    "key": "key73",
    "title": "key73",
    "url": null,
    "team_id": 3038,
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-17T23:31:05.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": "1961287c4fdc07479cb6454bca170e07",
    "archived": false
  }
}
PATCH /api/v1/time_entries/2052
{}
200
{
  "id": 2052,
  "started_at": "2024-04-17T23:31:05.000Z",
  "stopped_at": "2024-04-18T00:31:05.000Z",
  "time_trackable_id": 7509,
  "time_trackable_type": "Task",
  "time_tracker_id": 3090,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:05.000Z",
  "updated_at": "2024-04-18T00:31:05.000Z",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 3039,
  "input_type": "realtime",
  "stopped_at_seconds": 1713400265,
  "deleted_at_seconds": 0,
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/7509/edit",
  "user": {
    "id": 3090,
    "nickname": "Son Becker",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-18T00:31:05.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-04-17T23:31:05.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "deactivated_at": null,
    "calendar_zoom_rate": 1,
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50"
  },
  "task": {
    "id": 7509,
    "key": "http://ferry.example/clemencia_cummings",
    "title": "Voluptatum dolor pariatur qui.",
    "url": "http://ferry.example/clemencia_cummings",
    "team_id": 3039,
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-18T00:31:05.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7508,
      "key": "key74",
      "title": "key74",
      "url": null,
      "team_id": 3039,
      "created_at": "2024-04-17T23:31:05.000Z",
      "updated_at": "2024-04-18T00:31:05.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": "6b610557a87f74093f675a48f1de2a7c",
      "archived": false
    },
    "sequential_id": null,
    "state": "open",
    "bill": 0,
    "ancestry": "7508",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "57e6d56567665300eeadeb293f1f88df",
    "archived": false,
    "team": {
      "id": 3039,
      "name": "Pennsylvania zombies",
      "created_at": "2024-04-17T23:31:05.000Z",
      "updated_at": "2024-04-18T00:31:05.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3039,
    "name": "Pennsylvania zombies",
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-18T00:31:05.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7508,
    "key": "key74",
    "title": "key74",
    "url": null,
    "team_id": 3039,
    "created_at": "2024-04-17T23:31:05.000Z",
    "updated_at": "2024-04-18T00:31:05.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": "6b610557a87f74093f675a48f1de2a7c",
    "archived": false
  }
}

サポートフォーマット

json

PATCH /api/v1/time_entries/2098/stop
200
{
  "stopped_at": "2024-04-17T23:31:19.000Z",
  "team_id": 3072,
  "id": 2098,
  "started_at": "2024-04-17T23:31:19.000Z",
  "input_type": "realtime",
  "deleted_at": null,
  "stopped_at_seconds": 1713396679,
  "deleted_at_seconds": 0,
  "duration": 0.0,
  "amount": 0,
  "time_trackable_id": 7602,
  "time_trackable_type": "Task",
  "time_tracker_id": 3121,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:19.000Z",
  "updated_at": "2024-04-17T23:31:19.000Z",
  "formatted_duration": "00:00",
  "html_url": "http://www.example.com/app/mytasks/7602/edit",
  "user": {
    "id": 3121,
    "nickname": "Jacqulyn Lemke",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:19.000Z",
    "updated_at": "2024-04-17T23:31:19.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-04-17T23:31:19.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "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-04-17T23:31:19.000Z",
    "id": 7602,
    "key": "Etfacilisreiciendisneque",
    "title": "Et facilis reiciendis neque.",
    "url": "",
    "team_id": 3072,
    "created_at": "2024-04-17T23:31:19.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7601,
      "key": "key105",
      "title": "key105",
      "url": null,
      "team_id": 3072,
      "created_at": "2024-04-17T23:31:19.000Z",
      "updated_at": "2024-04-17T23:31:19.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": "dbef5eee9bea927216325e7d85af30f1",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "7601",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "896bc461bd3fb9c0ebde7e71fe95be18",
    "archived": false,
    "team": {
      "id": 3072,
      "name": "Hawaii lycanthropes",
      "created_at": "2024-04-17T23:31:19.000Z",
      "updated_at": "2024-04-17T23:31:19.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": null,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "attachment": null,
  "team": {
    "id": 3072,
    "name": "Hawaii lycanthropes",
    "created_at": "2024-04-17T23:31:19.000Z",
    "updated_at": "2024-04-17T23:31:19.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7601,
    "key": "key105",
    "title": "key105",
    "url": null,
    "team_id": 3072,
    "created_at": "2024-04-17T23:31:19.000Z",
    "updated_at": "2024-04-17T23:31:19.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": "dbef5eee9bea927216325e7d85af30f1",
    "archived": false
  }
}
PATCH /api/v1/time_entries/2099/stop
403
{
  "messages": [
    "You are not authorized to access this page."
  ]
}

サポートフォーマット

json

DELETE /api/v1/time_entries/2056
{}
204

サポートフォーマット

json

POST /api/v1/time_entries/2053/comments
{
  "comment": {
    "content": "Comment😊"
  }
}
200
{
  "id": 2053,
  "started_at": "2024-04-17T23:31:06.000Z",
  "stopped_at": "2024-04-18T00:31:06.000Z",
  "time_trackable_id": 7512,
  "time_trackable_type": "Task",
  "time_tracker_id": 3091,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:06.000Z",
  "updated_at": "2024-04-17T23:31:06.000Z",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 3040,
  "input_type": "realtime",
  "stopped_at_seconds": 1713400266,
  "deleted_at_seconds": 0,
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/7512/edit",
  "user": {
    "id": 3091,
    "nickname": "Dennis Greenfelder MD",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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-04-17T23:31:06.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "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-04-17T23:31:06.000Z",
    "id": 7512,
    "key": "http://wintheiser.test/antonia_stehr",
    "title": "Consectetur qui voluptas qui.",
    "url": "http://wintheiser.test/antonia_stehr",
    "team_id": 3040,
    "created_at": "2024-04-17T23:31:06.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7511,
      "key": "key75",
      "title": "key75",
      "url": null,
      "team_id": 3040,
      "created_at": "2024-04-17T23:31:06.000Z",
      "updated_at": "2024-04-17T23:31:06.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": "a3952e3b2382183ea8afc424796e4a54",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "7511",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "60433dd07d1ae0749f46be25bce518f3",
    "archived": false,
    "team": {
      "id": 3040,
      "name": "South Carolina ghosts",
      "created_at": "2024-04-17T23:31:06.000Z",
      "updated_at": "2024-04-17T23:31:06.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": null,
      "tasks_readonly": false
    }
  },
  "comment": {
    "id": 47,
    "content": "Comment😊",
    "commentable_id": 2053,
    "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry",
    "user_id": 3091,
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.000Z",
    "deleted_at": null,
    "attachment": null
  },
  "attachment": null,
  "team": {
    "id": 3040,
    "name": "South Carolina ghosts",
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7511,
    "key": "key75",
    "title": "key75",
    "url": null,
    "team_id": 3040,
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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": "a3952e3b2382183ea8afc424796e4a54",
    "archived": false
  }
}
POST /api/v1/time_entries/2054/comments
{
  "comment": {
    "content": "Comment_2"
  }
}
200
{
  "id": 2054,
  "started_at": "2024-04-17T23:31:06.000Z",
  "stopped_at": "2024-04-18T00:31:06.000Z",
  "time_trackable_id": 7515,
  "time_trackable_type": "Task",
  "time_tracker_id": 3092,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:06.000Z",
  "updated_at": "2024-04-17T23:31:06.000Z",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 3041,
  "input_type": "realtime",
  "stopped_at_seconds": 1713400266,
  "deleted_at_seconds": 0,
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/7515/edit",
  "user": {
    "id": 3092,
    "nickname": "Miss Tandy Hartmann",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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-04-17T23:31:06.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "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-04-17T23:31:06.000Z",
    "id": 7515,
    "key": "http://welch.example/barbie",
    "title": "Inventore iusto similique est.",
    "url": "http://welch.example/barbie",
    "team_id": 3041,
    "created_at": "2024-04-17T23:31:06.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7514,
      "key": "key76",
      "title": "key76",
      "url": null,
      "team_id": 3041,
      "created_at": "2024-04-17T23:31:06.000Z",
      "updated_at": "2024-04-17T23:31:06.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": "0a506ee2684d9e695efbbfcad0001755",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "7514",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "c9ef59e9cd7f1950e84420caf9d1d563",
    "archived": false,
    "team": {
      "id": 3041,
      "name": "Nebraska dragons",
      "created_at": "2024-04-17T23:31:06.000Z",
      "updated_at": "2024-04-17T23:31:06.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": null,
      "tasks_readonly": false
    }
  },
  "comment": {
    "id": 48,
    "content": "Comment_2",
    "commentable_id": 2054,
    "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry",
    "user_id": 3092,
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.000Z",
    "deleted_at": null,
    "attachment": null
  },
  "attachment": null,
  "team": {
    "id": 3041,
    "name": "Nebraska dragons",
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7514,
    "key": "key76",
    "title": "key76",
    "url": null,
    "team_id": 3041,
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:06.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": "0a506ee2684d9e695efbbfcad0001755",
    "archived": false
  }
}
POST /api/v1/time_entries/2055/comments
{
  "comment": {
    "content": "Comment😊",
    "attachment": "<FILE CONTENT 'blank.png'>"
  }
}
200
{
  "id": 2055,
  "started_at": "2024-04-17T23:31:07.000Z",
  "stopped_at": "2024-04-18T00:31:07.000Z",
  "time_trackable_id": 7518,
  "time_trackable_type": "Task",
  "time_tracker_id": 3093,
  "time_tracker_type": "User",
  "created_at": "2024-04-17T23:31:07.000Z",
  "updated_at": "2024-04-17T23:31:07.000Z",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 3042,
  "input_type": "realtime",
  "stopped_at_seconds": 1713400267,
  "deleted_at_seconds": 0,
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/7518/edit",
  "user": {
    "id": 3093,
    "nickname": "Eilene Walter",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-04-17T23:31:06.000Z",
    "updated_at": "2024-04-17T23:31:07.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-04-17T23:31:06.000Z",
    "confirmation_sent_at": null,
    "notify_exported": true,
    "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-04-17T23:31:07.000Z",
    "id": 7518,
    "key": "http://adams.test/abel_murphy",
    "title": "Et et harum accusamus.",
    "url": "http://adams.test/abel_murphy",
    "team_id": 3042,
    "created_at": "2024-04-17T23:31:07.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 7517,
      "key": "key77",
      "title": "key77",
      "url": null,
      "team_id": 3042,
      "created_at": "2024-04-17T23:31:07.000Z",
      "updated_at": "2024-04-17T23:31:07.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": "1baf1cb70cb4b1e37ad4fbff93ef2730",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "7517",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "8cdba606fd49929df927f0d7e2a2a519",
    "archived": false,
    "team": {
      "id": 3042,
      "name": "New York vampires",
      "created_at": "2024-04-17T23:31:07.000Z",
      "updated_at": "2024-04-17T23:31:07.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": null,
      "tasks_readonly": false
    }
  },
  "comment": {
    "id": 49,
    "content": "Comment😊",
    "commentable_id": 2055,
    "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry",
    "user_id": 3093,
    "created_at": "2024-04-17T23:31:07.000Z",
    "updated_at": "2024-04-17T23:31:07.000Z",
    "deleted_at": null,
    "attachment": "blank.png"
  },
  "attachment": "https://development-timecrowd.s3.ap-northeast-1.amazonaws.com/uploads/comment/attachment/49/blank.png?X-Amz-Expires=600&X-Amz-Date=20240417T233107Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARAC7GHMAJNI3HJVF%2F20240417%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=68608e435def241520ac31565274a68b27106a91cf12aaf7ab90c59e2b1b3008",
  "team": {
    "id": 3042,
    "name": "New York vampires",
    "created_at": "2024-04-17T23:31:07.000Z",
    "updated_at": "2024-04-17T23:31:07.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": null,
    "tasks_readonly": false
  },
  "category": {
    "id": 7517,
    "key": "key77",
    "title": "key77",
    "url": null,
    "team_id": 3042,
    "created_at": "2024-04-17T23:31:07.000Z",
    "updated_at": "2024-04-17T23:31:07.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": "1baf1cb70cb4b1e37ad4fbff93ef2730",
    "archived": false
  }
}