public getWorkspaceTasks ( string $workspaceId, string $assignee = 'me', array $opts = [] ) : string | ||
$workspaceId | string | The id of the workspace |
$assignee | string | Can be "me" or user ID |
$opts | array | Array of options to pass (@see https://asana.com/developers/documentation/getting-started/input-output-options) |
Résultat | string | JSON or null |
public function getWorkspaceTasks($workspaceId, $assignee = 'me', array $opts = array())
{
$options = http_build_query($opts);
return $this->askAsana($this->taskUrl . '?workspace=' . $workspaceId . '&assignee=' . $assignee . '&' . $options);
}