task_action: Performs action on the task

Description Usage Arguments Value Examples

Description

Performs action on the task.

Usage

1
2
3
4
5
6
7
task_action(
  auth_token = NULL,
  project_id = NULL,
  task_id = NULL,
  action = "abort",
  ...
)

Arguments

auth_token

auth token

project_id

ID of a project you want to access.

task_id

ID of a task you want to access.

action

Character string specifying the action. Currently, only supported action is 'abort'.

...

parameters passed to sbgapi function

Value

parsed list of the returned json

Examples

1
2
3
4
5
token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = task_action(token,
                project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab',
                task_id = '5506a44ae4b04a4ab3ae7250',
                action = 'abort')

road2stat/sbgr documentation built on March 9, 2021, 4:33 a.m.