Constructor
# new ProjectSubtasks(client, taskId, subtaskId, projectId)
Endpoint constructor
Parameters:
Name | Type | Description |
---|---|---|
client |
Client
|
|
taskId |
String
|
The id of the task. |
subtaskId |
String
|
The id of the subtask. |
projectId |
String
|
The id of the project. |
- See:
-
- [ProjectSubtasks in Awork API Docs](https://openapi.awork.com/#/ProjectSubtasks)
Classes
Methods
# async get() → {Promise.<SubTask>}
Returns a subtask for a project task with the specified id. To retrieve the subtasks of a project task either 'read' permissions on the 'project-planning-data' feature are required or the user needs to be assigned.
Promise.<SubTask>
# async list(optionsopt) → {SubTask}
Returns the subtasks for a project task with the specified id. To retrieve the subtasks of a project task either 'read' permissions on the 'project-planning-data' feature are required or the user needs to be assigned.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options |