API: Summary of all visitors


I am trying to get via API the summary of visitors based on a part of a given url.
But this not do able, because I have to use the complete url and this a to big effort:

Hi I get back the summary of a given url-part like:
[li] url
[/li][li] url.html
[/li][li] url/more.html
[/li][li] url/more

I have tried it with

$request = new Piwik_API_Request('
              &segment=pageUrl==' . urlencode($pageUrl) . '
              &date=' . $firstDay . '

But this doesnt work like I needed it.

Thanks in advance.


Try &expanded=1 there will be a new element