Interface: Api
Entry point for task to Smokeball.Methods
all()
all(Gets the subTasks associated with the specified task id.taskId):Promise<SubTask[]>
Parameters
taskId
string
Returns
Promise<SubTask[]>
the subTasks associated with the specified task id.
Example
create()
create(Creates a new subTask for the specified task id and returns the newly created subTask.request):Promise<SubTask>
Parameters
request
CreateSubTaskRequest
the create request.
Returns
Promise<SubTask>
Example
delete()
delete(Marks subTask with the specified id and parent task id as deleted and returns the deleted subTask.id,taskId):Promise<SubTask>
Parameters
id
string
taskId
string
Returns
Promise<SubTask>
Example
get()
get(Gets the subTask associated with the specified id and parent task id.id,taskId):Promise<SubTask>
Parameters
id
string
taskId
string
Returns
Promise<SubTask>
the subTask associated with the specified id and parent task id.
Example
update()
update(Updates a subTask with the specified id and returns the updated subTask.request):Promise<SubTask>
Parameters
request
UpdateSubTaskRequest
the update request.
Returns
Promise<SubTask>