@Chardonneaur opened this Issue on November 29th 2022

Hi team,
Would it be possible to hide the metadata field when using the reporting API?
For example here: https://demo.matomo.cloud/index.php?module=API&format=html&idSite=1&period=day&date=yesterday&method=Actions.getPageUrls&expanded=1&translateColumnNames=1&language=fr&token_auth=anonymous&filter_limit=3&showColumns=nb_hits
even by using the showColumns parameter, the meta data column still appearing. As a result we need to process back our result whereas the interest of using API parameters is to get a clean data feed.

@bx80 commented on November 29th 2022 Contributor

Hi @Chardonneaur, thanks for highlighting this :+1:

The _metadata column is a special column so it is being ignored by the showColumns / hideColumns parameters. I can't think of any reason why it shouldn't be possible to hide this column via the API parameters.

I've assigned this change for prioritization.

@sgiehl commented on November 30th 2022 Member

This might actually be something special in the html export only. Neither xml nor json export does contain the metadata.

Powered by GitHub Issue Mirror