-
Notifications
You must be signed in to change notification settings - Fork 73
Tasks.API
Access to the Tasks resource
Name | Type | Description |
---|---|---|
dispatcher |
Dispatcher | The API dispatcher |
- Source:
-
Dispatches a POST request to /tasks/:taskId/addFollowers with to add followers to the task.
Name Type Description taskId
Number The task id
data
Object The data containing the list of followers
- Source:
-
Dispatches a POST request to /tasks/:taskId/addFollowers with to add followers to the task.
Name Type Description taskId
Number The task id
data
Object The data containing the list of followers
- Source:
-
Dispatches a POST request to /tasks/:taskId/addProject with the project to add to to the task.
Name Type Description taskId
Number The task id
data
Number The data containing the projectId
- Source:
The result of the API call
- Type
- Promise
-
Creates a new subtask
Name Type Description taskId
Number The task id
data
Object The data for the subtask
- Source:
The result of the API call
- Type
- Promise
-
Add a tag to a task
Name Type Description taskId
Number The task id
data
Number The data containing the tagId
- Source:
The result of the API call
- Type
- Promise
-
Creates a new task
Name Type Description data
Object The data for the task
- Source:
The result of the API call
- Type
- Promise
-
Creates a new task in the workspace
Name Type Description workspaceId
Number The workspace id
data
Object The data for the task
- Source:
The result of the API call
- Type
- Promise
-
Deletes a task
Name Type Description taskId
Number The task id
- Source:
The result of the API call
- Type
- Promise
-
Deletes a task
Name Type Description taskId
Number The task id
- Source:
The result of the API call
- Type
- Promise
-
Returns all tasks that the dispatcher has access to
Name Type Argument Description params
Object <optional>
Extra params for the dispatcher
- Source:
The result of the API call
- Type
- Promise
-
Returns the task
Name Type Argument Description taskId
Number The task id
params
Object <optional>
Extra params for the dispatcher
- Source:
The result of the API call
- Type
- Promise
-
Finds a task by project
Name Type Argument Description projectId
Number The project id
params
Object <optional>
Extra params for the dispatcher
- Source:
The result of the API call
- Type
- Promise
-
Finds a task by tag
Name Type Argument Description tagId
Number The tag id
params
Object <optional>
Extra params for the dispatcher
- Source:
The result of the API call
- Type
- Promise
-
Dispatches a GET request to /tasks/:taskId/projects
Name Type Description taskId
Number The task id
- Source:
The result of the API call
- Type
- Promise
-
Dispatches a POST request to /tasks/:taskId/removeFollowers with to remove followers from the task.
Name Type Description taskId
Number The task id
data
Object The data containing the list of followers
- Source:
-
Dispatches a POST request to /tasks/:taskId/removeProject with the project to remove from the task
Name Type Description taskId
Number The task id
data
Object The data containing the projectId
- Source:
The result of the API call
- Type
- Promise
-
Dispatches a POST request to /tasks/:taskId/removeTag with the tag to remove from the task
Name Type Description taskId
Number The task id
data
Object The data containing the tagId
- Source:
The result of the API call
- Type
- Promise
-
Sets the parent for a task
Name Type Description taskId
Number The task id
parentId
Number The id of the parent task
- Source:
The result of the API call
- Type
- Promise
-
Gets all subtasks for a task
Name Type Description taskId
Number The task id
- Source:
The result of the API call
- Type
- Promise
-
Get tags associated with a task
Name Type Description taskId
Number The task id
- Source:
The result of the API call
- Type
- Promise
-
Update a task
Name Type Description taskId
Number The task id
data
Object The data to be sent to the workspace
- Source:
The result of the API call
- Type
- Promise
-
Dispatches a POST request to /tasks/:taskId/removeFollowers with to remove followers from the task.
Name Type Description taskId
Number The task id
data
Object The data containing the list of followers };
/** Update a task
taskId
Number The task id
data
Object The data to be sent to the workspace
- Source:
The result of the API call
- Type
- Promise