Asana API & Laravel

Hi

We are working on a web app to use so we can track various platform items assigned to us in one place, thus far I am able to call the Asana client and get the user and the workspace. (we are using Laravel making use of the php-asana library).

The requests are as follows;

Aana API get '/tasks request ->

$tasks = $client->get(
            '/tasks',
            array(
                'assignee'=>$me,
                'workspace'=>$workspace_membership_gid,
                'completed_since'=>$time,
                'completed'=>false,
                'limit'=>2,
            ),
            array(
                'opt_fields'=>'name,due_on, notes, gid, limit'
            ));

This returns the tasks for the user but I found that it does not return the offset, path and uri I require for pagination.

Just for info as well, here is the dd I get when calling the tasks endpoint but there is no offset/next_page info to make use of when applying a limit

Would someone here maybe be able to help me out with this?

Regards,
hazelbag

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.