From forum post:
?module=API&method=Actions.getPageUrl&idSite=1&pageUrl=$url&period=day&date=last1&format=JSON&token_auth=$tkn
Fatal error: Call to undefined method Piwik_DataTable_Array::getRows() in /stats/plugins/Actions/API.php on line 127
This is similar to #1125
The solution involves maybe creating a helper or somehow ensuring that the filters understand that reports are grouped by Date.
Another report of probably similar bug (to check!) in the forum:
method=Actions.getPageTitles
idSite=1
period=week
date=today
filter_sort_order=desc
filter_limit=15
format=JSON
token_auth=$tkn
But, if you change date to keyword 'last4', it gives the following error:
"Column avg_time_on_page already in the array!"
(In [4197]) Refs #2133 Ensuring no error is thrown, but not dealing with the issue itself as unfortunately there is no easy way to do so