IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
/*
$params['task_id'] = (string) Cancel the task with specified task id (node_id:task_number)
['node_id'] = (list) A comma-separated list of node IDs or names to limit the returned information;
use `_local` to return information from the node you're connecting to, leave empty to get information from all
nodes
['actions'] = (list) A comma-separated list of actions that should be cancelled. Leave empty to
cancel all.
['body'] = (array) Request body
*/
$params = [
// ...
];
$client = ClientBuilder::create()->build();
$response = $client->task()->cancel($params);
show()
/*
$params['task_id'] = (string) Return the task with specified id (node_id:task_number)
['node_id'] = (list) A comma-separated list of node IDs or names to limit the returned
information; use `_local` to return information from the node you're connecting to, leave empty to get
information from all nodes
['actions'] = (list) A comma-separated list of actions that should be returned. Leave empty
to return all.
['body'] = (array) Request body
*/
$params = [
// ...
];
$client = ClientBuilder::create()->build();
$response = $client->task()->show($params);