Class

UserOtherPrivateTasksSubtasks

UserOtherPrivateTasksSubtasks(client, taskId, subtaskId, userId)

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

UserOtherPrivateTasksSubtasks

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.

View Source endpoints/UserOtherPrivateTasksSubtasks.js, line 32

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

View Source endpoints/UserOtherPrivateTasksSubtasks.js, line 43

Promise.<Array.<SubTask>>