Page MenuHomePhabricator

AQS: query multiple articles at the same time
Closed, DeclinedPublic


All of the early users of AQS told us they would like to query for multiple articles at the same time.

Maybe something like:|||Photography/daily/2015100100/2015111200

(note the separator between article names)

Event Timeline

Milimetric raised the priority of this task from to Needs Triage.
Milimetric updated the task description. (Show Details)
Milimetric added a subscriber: Milimetric.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 12 2015, 9:55 PM
Milimetric set Security to None.
Milimetric triaged this task as Medium priority.Feb 18 2016, 6:35 PM
Milimetric moved this task from Incoming to Modern Event Platform on the Analytics board.
Milimetric added a project: Pageviews-API.
GWicke added a subscriber: GWicke.EditedMay 26 2016, 11:21 PM

As with large & random time ranges, querying many titles in a single request makes individual requests more expensive & hard to effectively rate-limit, and defeats CDN caching. It runs counter to the philosophy of REST APIs, which are focused on discrete resources & low per-request costs.

I would recommend to look into providing convenient client-side library abstractions for batch operations instead. These can benefit from CDN caching and parallelism, while providing similar convenient ergonomics for users.

See also:

I agree, and there's support for this in the python client I maintain, along with other stuff that we don't want to do on the server like month-level granularity for article-views. I share your opinion of being true to the spirit of REST, @GWicke.

Pchelolo closed this task as Declined.Oct 12 2016, 11:28 PM
Pchelolo added a subscriber: Pchelolo.

So, I guess we all are on the same page that this will never be implemented. Closing as 'Declined'