Quantcast
Viewing all articles
Browse latest Browse all 4243

Bulk Request API with getPageUrl and url parameters (no replies)

I'm having an issue with using the Bulk Request API. Using this call, I can successfullly get data for a page url:

http://www.MYPIWIKURL.com?format=json&module=API&method=Actions.getPageUrl&pageUrl=places%2F549823%3Fview%3Dsingle-event%26event%3D467&idSite=1&period=range&date=2014-08-27,2014-09-26&token_auth=MYAUTHTOKEN

Decoded, the pageUrl used in the call above is:

locations/549823?view=single-event&event=467

When I use several of this type of request in the Bulk Request API, however, it doesn't not return anything. For example, I use the same call above with a two different pageUrls:

URL 1: locations/549823?view=single-event&event=467
URL 2: locations/549823?view=single-event&event=468

I'm assuming this is because each of the urls passed through the Bulk Request API is encoded in full, so it is treating "&event=467" as another parameter in the call, instead of as part of the pageUrl.

Is there any way to get around this without having to do individual single requests?

Viewing all articles
Browse latest Browse all 4243

Trending Articles