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

Supported Formats

json

Examples

POST /api/v1/teams/11548/tasks/36435/start
{}
200
{
  "id": 6121,
  "started_at": "2024-12-17T00:27:01.000Z",
  "stopped_at": null,
  "time_trackable_id": 36435,
  "time_trackable_type": "Task",
  "time_tracker_id": 14335,
  "time_tracker_type": "User",
  "created_at": "2024-12-17T00:27:01.000Z",
  "updated_at": "2024-12-17T00:27:01.000Z",
  "deleted_at": null,
  "duration": 0.781068336,
  "amount": 0,
  "team_id": 11548,
  "input_type": "realtime",
  "stopped_at_seconds": 0,
  "deleted_at_seconds": 0,
  "formatted_duration": "00:00",
  "html_url": "http://test.host/app/mytasks/36435/edit",
  "user": {
    "id": 14335,
    "nickname": "Mitzie Moen",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2024-12-17T00:27:01.000Z",
    "updated_at": "2024-12-17T00:27:01.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:01.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:01.000Z",
    "id": 36435,
    "key": "http://berge.example/winston.schumm",
    "title": "Incidunt voluptates aliquid sit.",
    "url": "http://berge.example/winston.schumm",
    "team_id": 11548,
    "created_at": "2024-12-17T00:27:01.000Z",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 36434,
      "key": "key21",
      "title": "key21",
      "url": null,
      "team_id": 11548,
      "created_at": "2024-12-17T00:27:01.000Z",
      "updated_at": "2024-12-17T00:27:01.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": "0996e40ee99132f44ce2804944fa8647",
      "archived": false
    },
    "sequential_id": null,
    "bill": 0,
    "ancestry": "36434",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "fc6132a27cc983f78d7ae3180cbd0414",
    "archived": false,
    "team": {
      "id": 11548,
      "name": "Indiana bears",
      "created_at": "2024-12-17T00:27:01.000Z",
      "updated_at": "2024-12-17T00:27:01.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": 12360,
      "tasks_readonly": false
    }
  },
  "comment": null,
  "team": {
    "id": 11548,
    "name": "Indiana bears",
    "created_at": "2024-12-17T00:27:01.000Z",
    "updated_at": "2024-12-17T00:27:01.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": 12360,
    "tasks_readonly": false
  },
  "category": {
    "id": 36434,
    "key": "key21",
    "title": "key21",
    "url": null,
    "team_id": 11548,
    "created_at": "2024-12-17T00:27:01.000Z",
    "updated_at": "2024-12-17T00:27:01.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": "0996e40ee99132f44ce2804944fa8647",
    "archived": false
  }
}
POST /api/v1/teams/11549/tasks/36439/start
{}
422
{
  "messages": [
    "1 error prohibited this Time entry from being saved. ",
    "Task is already deleted."
  ]
}