Make it more clear in Reporting API reference that by default only 100 rows are returned #11772
Labels
c: Website matomo.org
For issues related to our matomo.org website.
Milestone
I have a site with recorded logs back from 2016.
The following API request only returns results from 2017, when it should include those from 2016 as well:
https://mypiwikinstance/?module=API&method=Live.getLastVisitsDetails&idSite=xx&token_auth=xxxxxxxxxxxxxxx&period=range&date=2016-01-01,2017-12-12
These will return the correct values from the respective year:
https://mypiwikinstance/?module=API&method=Live.getLastVisitsDetails&idSite=xx&token_auth=xxxxxxxxxxxxxxx&period=year&date=2016-01-01
(I get results from 2016)
https://mypiwikinstance/?module=API&method=Live.getLastVisitsDetails&idSite=xx&token_auth=xxxxxxxxxxxxxxx&period=year&date=2017-01-01
(I get results from 2017)
I've reproduced it on 2 different piwik instances. Am I missing something here? "Range" seems to be working fine on other API methods.
The visitor log from the dashboard, on the other hand, seems to be returning the correct results. I don't know exactly if these use the same endpoint to obtain data.
If it's any help, I've already run the archiving process to process all those logs.
Any ideas?
The text was updated successfully, but these errors were encountered: