Pretty HTML reports available via the api &format=html #3031
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Current &format=html returns a "raw html" view of the data. Instead, the API could return a "pretty view" of the report in HTML, including icons, links to websites/pages.
The &format=html would reuse the template from the HTML reports. The API would call the metadata API and output the HTML.
Use case: a website having an iframe loading the HTML API call, showing the top Browsers this year. This would improve the ease for users to share piwik reports. This would be like "Lightweight" Piwik embed (no JS dependency).
This could also be reused by RSS feeds in #151
The text was updated successfully, but these errors were encountered: