Actions.getPageUrls - get only data from special childpages

with Actions.getPageUrls and the param &expand=1 I get all stats from all URLs.
how to query if I only want data from a special URL?

example - I want the stats for

\en\documents\10000

I tried filter_pattern on label, but that dont work, or works only for the first level (/en, /de) …

thx

To get data for only one URL, or one Page Title, use the “getPageUrl” instead of “getPageUrls” which has a parameter “&url=” that you can specifiy which URL you need, make sure you URL encode it.

hi matt,

this request works:

http://piwik.domain.net/index.php?module=API&method=Actions.getPageUrl&idSite=2&period=range&date=2012-09-17,2012-09-17&format=XML&token_auth=mytokenmoken&pageUrl=http://dev.domain.com/en/document/view/10000/oxafight-07

the request needs param = pageUrl to work …

but this requests dont work:

http://piwik.domain.net/index.php?module=API&method=Actions.getPageUrl&idSite=2&period=range&date=2012-09-17,2012-09-17&format=XML&token_auth=mytokenmoken&pageUrl=http://dev.domain.com/en/document/view/10000

also not this way:

…&pageUrl=http%3A%2F%2Fdev.domain.com%2Fen%2Fdocument%2Fview%2F10000

why?

in piwik backend I can see the stats for just:
http://dev.domain.com/en/document/view/10000

I tried also to add &url=… but with no success, may you can prepare the request like it should work for me :wink:

thx

in piwik backend I can see the stats for just:
http://dev.domain.com/en/document/view/10000

is that a real page, or is that only a directory containing other page?

the &pageUrl= will only work, I think, for real URLs… ?