Constructor
# new UserOtherPrivateTasksSubtasks(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:
-
- [UserOtherPrivateTasksSubtasks in Awork API Docs](https://openapi.awork.com/#/UserOtherPrivateTasksSubtasks)
View Source endpoints/UserOtherPrivateTasksSubtasks.js, line 9
Classes
Methods
# async get() → {Promise.<SubTask>}
Returns a subtask for other private tasks with the specified id. The user needs to be the creator of the task.
Promise.<SubTask>
# async list(optionsopt) → {Promise.<Array.<SubTask>>}
Returns the subtask for other private tasks with the specified id. The user needs to be the creator of the task.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options |
Promise.<Array.<SubTask>>