actions

c3s/task~ actions

Source:

actions

Methods

(static) createTasks(tasks)

Create an array of tasks.

Source:

Create an array of tasks

Parameters:
Name Type Description
tasks Array.<Object>

Array of tasks to be created

(static) deleteTasks(tasks)

Deletes an array of tasks.

Source:

Deletes an array of tasks

Parameters:
Name Type Description
tasks Array.<Object>

Tasks to be deleted, ID is required as a key here

(static) getTask(id)

Retrieve a task matching an ID.

Source:

Retrieve a task matching an ID

Parameters:
Name Type Description
id String

Task ID

(static) getTaskCount(search)

Source:
Parameters:
Name Type Description
search Object

A search term to match a JTOS object

(static) getTaskMedia(search)

Get Task Media.

Source:

Get Task Media

Parameters:
Name Type Description
search Object

(static) getTasks(Search)

Retrieve an array of tasks.

Source:

Retrieve an array of tasks

Parameters:
Name Type Description
Search Array.<Object, number>

An array containing a search object and a limit integer