A user reported the Site Search report is not available in the mobile app and I noticed the report is not included in API.getReportMetadata. The reason for this is a check for the idSite parameter: https://github.com/piwik/piwik/blob/master/plugins/Actions/Actions.php#L503 This does not work: http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous This does work: http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous&idSite=3 It should work without the idSite parameter as well.
A user reported the Site Search report is not available in the mobile app and I noticed the report is not included in API.getReportMetadata.
The reason for this is a check for the idSite parameter: https://github.com/piwik/piwik/blob/master/plugins/Actions/Actions.php#L503
This does not work:
http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous
This does work:
http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous&idSite=3
It should work without the idSite parameter as well.