Constructor
# new UserPrivateTasksSubtasks(client, taskId, subtaskId, userId)
Endpoint constructor
Parameters:
Name | Type | Description |
---|---|---|
client |
Client
|
|
taskId |
String
|
The id of the task. |
subtaskId |
String
|
The id of the subtask. |
userId |
String
|
The id of the user. |
- See:
-
- [UserPrivateTasksSubtasks in Awork API Docs](https://openapi.awork.com/#/UserPrivateTasksSubtasks)
Classes
Methods
# async get() → {Promise.<SubTask>}
Returns a subtask for a private task with the specified id. The user needs to be assigned to the task.
Promise.<SubTask>
# async list(optionsopt) → {Promise.<SubTask>}
Returns the subtasks for a private task with the specified id. The user needs to be assigned to the task.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options |
Promise.<SubTask>