Heya, I asked this on IRC but didn't get any replies so I'm following it up this way. I have a question about the newer metrics REST v1 API: is there a way to specify how many top articles to pull from https://wikimedia.org/api/rest_v1/#!/Pageviews_data/get_metrics_pageviews_to... or is 1k hardcoded? Old metrics data was available that had the most viewed pages but that disappeared with the change to the new API.
The reason I ask is because we (https://endlessos.com) are trying to rebuild our stale encyclopedia apps for offline usage but are space-limited and would only like to include the most likely pages that would be looked at that can fit within a size envelope that varies with the device in question (up to 100k article limit probably) but the new API doesn't provide us with the tools to figure out the rankings cleanly (other than rate-limiting on our side and checking every single article's metric endpoint for counts).
So the main question is: do we have a way to get this data out with the current API? If this data is not available, can the "metrics/pageviews/top" API be augmented to maybe have a `skip` and/or `limit` params like other similar services that have this type of filtering?
Thanks,
..........................................................................
Srdjan Grubor | +1.314.540.8328 | Endless http://endlessm.com/