API Actions.getPageUrls Get nodes


(Alexander) #1

Hello, I have urls like
shop

  • /?p_id=96031
  • /?p_id=96054
  • /?p_id=94851
    /index
    search
    delivery

How I can get childs of “shop” tree by API?
I try http://piwik.site.ua/index.php?module=API&method=Actions.getPageUrls&idSite=1&period=day&date=today&format=xml&token_auth=XXX&label=shop but she no return childs…


#2

did you try expanded=1 or flat=1


(Alexander) #3

Thanks expanded=1 works :slight_smile: