Class

TaskViews

TaskViews(client)

Class corresponding to Aworks TaskViews Endpoints
Constructor

# new TaskViews(client)

Endpoint constructor
Parameters:
Name Type Description
client Client
See:
  • [TaskViews in Awork API Docs](https://openapi.awork.com/#/TaskViews)

View Source endpoints/TaskViews.js, line 9

Classes

TaskViews

Methods

# async get(The) → {Promise.<TaskView>}

Returns one task view that is specified by the id. Task views that are not shared are not considered.
Parameters:
Name Type Description
The String id of the task view.

View Source endpoints/TaskViews.js, line 26

Promise.<TaskView>

# async list(optionsopt) → {Promise.<Array.<TaskView>>}

Returns all task views. Task views that are not shared are not considered.
Parameters:
Name Type Attributes Description
options ListOptions <optional>
Pagination and filtering options

View Source endpoints/TaskViews.js, line 37

Promise.<Array.<TaskView>>