Class

UserPrivateTasksSubtasks

UserPrivateTasksSubtasks(client, taskId, subtaskId, userId)

Class corresponding to Aworks UserPrivateTasksSubtasks Endpoints
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)

View Source endpoints/UserPrivateTasksSubtasks.js, line 9

Classes

UserPrivateTasksSubtasks

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.

View Source endpoints/UserPrivateTasksSubtasks.js, line 33

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

View Source endpoints/UserPrivateTasksSubtasks.js, line 44

Promise.<SubTask>