Get a list of subtasks of a task


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

Returns a list of subtasks for a given task.

Endpoint URL

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

Authorization

Owner Admin Member

Path parameters

NameTypeDescription
projectId*stringProject ID
taskId*stringTask ID

Example responses

{
  "requestedBy": 1,
  "project": 1,
  "tasks": [
    {
      "createdAt": 1672498800000,
      "updatedAt": 1672498800000,
      "id": 1746,
      "name": "Task name",
      "sortOrder": 1,
      "priority": 2,
      "planned": null,
      "actual": null,
      "description": "Task Description",
      "dueDate": 1672498800000,
      "startDate": 1672498800000,
      "space": 1,
      "status": {
        "createdAt": 1672498800000,
        "updatedAt": 1672498800000,
        "id": 1746,
        "name": "Todo",
        "sortOrder": 0,
        "isClosed": false,
        "color": null,
        "space": 1,
        "project": 1
      },
      "parent": 2,
      "project": 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": "Reon",
        "fullName": "Reon Walls",
        "avatarUrl": "/dummy/avatar1.png",
        "billingStatus": "active",
        "extra": {},
        "space": 1,
        "language": 2,
        "timeZone": 100
      },
      "ballHoldingUser": {
        "createdAt": 1672498800000,
        "updatedAt": 1672498800000,
        "id": 1746,
        "name": "Reon",
        "fullName": "Reon Walls",
        "avatarUrl": "/dummy/avatar1.png",
        "billingStatus": "active",
        "extra": {},
        "space": 1,
        "language": 2,
        "timeZone": 100
      }
    }
  ]
}

Human-centered, best team!

Repsona is an ideal work management tool for your team
Get started for free