I want to retrieve the top 10 URLs via the API. But I have activated the categories feature which aggregates all pages also under there directories diverted by “/”.
How can I get rid of the categorie data in the result? I just need the top 10 URLs on the whole site.
index.php?module=API&method=Actions.getPageUrls&idSite=1&period=month&date=2012-05-09&format=xml&token_auth=xxx
Additional to this API query I would need a function to:
- Filter only rows where a url value is existing
OR
- Have a funktion that gives me only the leaves of the tree.
Searched through all the documentation a couldn’t find anything to get this in my eye really simple result set.
Is this really not possible?
regards
marcus