$response = $this->request(
'GET',
'v1/tasks.json?from=' . $from . '&space_ids[]=' . $space //,
// [
// 'query' => "from=$from&space_ids[]=$space"
// [
// 'from' => $from, // 2017-01-01 {should be the date the project starts}
// 'to' => date('d/m/Y', time()),
// 'space_ids' => [$space],
// 'page' => 1,
// 'per_page' => 1000
// ]
// ]
);
$response = $this->request(
'GET',
'v1/tasks.json?from=' . $from . '&spaces[]=' . $space //, JUST UPDATED
The documentation clearly says that it returns pagination and it simply returns a bunch of them not all specified by the parameter (beginning of the year). Is like is notI have added the 'FROM', I have added the SPACE_IDS[], everything. I am using Guzzle and both different ways to add the parameters and still, it doesn't return any tasks regarding the timeframe I stated.Here my call:
$response = $this->request(
'GET',
'v1/tasks.json?from=' . $from . '&spaces[]=' . $space //, JUST UPDATED
// [
// 'query' => "from=$from&space_ids[]=$space"
// [
// 'from' => $from, // 2017-01-01 {should be the date the project starts}
// 'to' => date('d/m/Y', time()),
// 'spaces[]' => [$space],
// 'page' => 1,
// 'per_page' => 1000
// ]
// ]
);
I have found the answer. But would be nice if you guys do add the paging into the response.
On Mar 1, 2017, at 23:35, ant...@2amigos.us wrote:
I have found the answer. But would be nice if you guys do add the paging into the response.Best
--
You received this message because you are subscribed to the Google Groups "Assembla API Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to assembla-api-d...@googlegroups.com.
To post to this group, send email to assembla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.