Add flag "supports flatten" to metadata API #3780
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
In new Piwik Mobile App I'd like to integrate a "Flatten" button. But "flatten" does not always makes sense, for instance in case of "VisitsSummary.get". I'd like to display the button only if a report "supports flatten". So, I need this information in metadata.
I've seen there's a (new?) flag "constantRowsCount". Maybe this can be used? Unfortunately, the flag is only set for reports like "VisitTime_getVisitInformationPerServerTime" but not for reports like "VisitsSummary_get".
The flag should be available in "API.getReportMetadata" as well as "API.getProcessedReport".
The text was updated successfully, but these errors were encountered: