public getWorkspaceTypeahead ( string $workspaceId, string $type, string $query, string $count = 1, array $opts = [] ) : string | ||
$workspaceId | string | The id of the workspace |
$type | string | The type of object to look up. You can choose from one of the following: project, user, task, and tag. Note that unlike other endpoints, the types listed here are in singular form. Using multiple types is not yet supported. |
$query | string | The value to look up |
$count | string | The number of results to return with a minimum of 1 and a maximum of 100. The default is 1 if this parameter is omitted. If there are fewer results found than requested, all will be returned |
$opts | array | Array of options to pass (@see https://asana.com/developers/documentation/getting-started/input-output-options) |
return | string | JSON or null |