Hey all,
I’m currently trying to download task details for my projects, but the API seems to be constructed in a way that I make a call to get a list of id/gid values, then make one call per item to retrieve the full details.
According to the API docs, I can tell the call to either include or expand the details for each field that I want returned. In order to do this, I need to explicitly specify every field name.
Is there a way to construct a call in a simple fashion, where I tell it to give me full details on each item returned?
As an example:
https://app.asana.com/api/1.0/projects/123/tasks/
I get objects in response that look like this:
{
"data":
[
{
"id": 123456789,
"gid": "123456789",
"name": "My First Task",
"resource_type": "task"
}, {
"id": 23456789,
"gid": "23456789",
"name": "My Second Task",
"resource_type": "task"
}
]
}
I want the full details of the task to come back in this call, so that I don’t need to make (in my case) 810 calls back to the API in order to retrieve details on everything.
Thank you in advance!