Reputation: 103
My query were these:
https://app.asana.com/api/1.0/tasks But I have this error instead: "Must specify exactly one of project, tag, or workspace"
When I try out for the workspace with this: https://app.asana.com/api/1.0/workspaces/workspace_id/tasks I have this error: "assignee: Missing input"
However, I will get a list of tasks if i use the projects instead...
Please advice.
Upvotes: 1
Views: 1549
Reputation: 2079
(I work at Asana)
You must always filter a task query with something, as we do not yet support pagination and all tasks in a workspaces will usually be a huge volume of data. Specifying a project implicitly scopes the query to a workspace, as every project exists in exactly one workspace. You can specify assignee
, but then you must additionally filter by workspace.
So your choices for filtering tasks are either by project
or by BOTH assignee
and workspace
.
Upvotes: 2