タスクを取得する


GET /api/project/:projectId/task/:taskId

指定したタスクの詳細を返します。

Endpoint URL

https://<space_id>.repsona.com/api/project/:projectId/task/:taskId

Authorization

Owner Admin Member

Path parameters

NameTypeDescription
projectId*stringプロジェクトID
taskId*stringタスクID

Example responses

{
  "requestedBy": 1,
  "project": 1,
  "task": {
    "tags": [
      {
        "createdAt": 1672498800000,
        "updatedAt": 1672498800000,
        "id": 1746,
        "name": "JavaScript",
        "sortOrder": 0,
        "color": "#2196F3",
        "type": null,
        "space": 1
      }
    ],
    "files": [
      {
        "createdAt": 1672498800000,
        "updatedAt": 1672498800000,
        "id": 1746,
        "hash": "5882b57f-6b60-4b7d-9e32-e2b6462d5d09",
        "size": 9119,
        "type": "image/svg+xml",
        "filename": "undraw_awesome_rlvy.svg",
        "extra": null,
        "space": 1,
        "user": 1,
        "project": 1
      }
    ],
    "subsequentTasks": [],
    "staredUsers": [],
    "followedUsers": [],
    "createdAt": 1672498800000,
    "updatedAt": 1672498800000,
    "id": 1746,
    "name": "Create a design base",
    "sortOrder": 4,
    "priority": 1,
    "planned": null,
    "actual": null,
    "description": "",
    "dueDate": 1672498800000,
    "startDate": 1672498800000,
    "space": 1,
    "status": {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "Done",
      "sortOrder": 2,
      "isClosed": true,
      "color": null,
      "space": 1,
      "project": 1
    },
    "parent": null,
    "project": {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "elephant-website",
      "fullName": "Elephant website development project",
      "purpose": "Investigating elephant ecology.",
      "avatarUrl": "/dummy/project-icon1.png",
      "productImageUrl": "",
      "sortOrder": 0,
      "free": true,
      "isClosed": false,
      "isPublic": false,
      "extra": null,
      "space": 1
    },
    "milestone": {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "v1.37.0",
      "dueDate": 1672498800000,
      "isClosed": false,
      "space": 1,
      "project": 1
    },
    "responsibleUser": {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "Rita",
      "fullName": "Rita Hurst",
      "avatarUrl": "/dummy/avatar5.png",
      "billingStatus": "active",
      "extra": null,
      "space": 1,
      "language": 1,
      "timeZone": 100
    },
    "ballHoldingUser": {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "Rita",
      "fullName": "Rita Hurst",
      "avatarUrl": "/dummy/avatar5.png",
      "billingStatus": "active",
      "extra": null,
      "space": 1,
      "language": 1,
      "timeZone": 100
    },
    "predecessorTasks": [],
    "createdBy": null
  }
}

人を中心に、もっといいチームに!

Repsonaはチームのための理想的な仕事管理ツールです
無料ではじめる