getPageUrl where pageUrl IS LIKE "/foo-bar%"

Is there any way to ignore GET parameters when using the getPageUrl API?

My URLs look like this

and I want to get the page views of all URLs which begins with “”. Is there any way to do that, without

  • using getPageURLs, collect all different URLs with parameters and send an API request getPageUrl for each individual URL
  • ignoring the GET parameters in the GUI, because we still need them to get correct data


Found a solution: Query “idsubdatatable” for “foo-bar” and then use

			'method' => 'Actions.getPageUrls',
			'idSubtable' => $idsubdatatable