I note that we are requested not to make more than 200 requests to the API, but a time interval is not specified. Is this intended to read "per day", or "per hour"? Is there someone to whom requests for a higher access rate might be directed? ~~~~
Talk:Wikimedia REST API
API usage limits
It actually did say "200 requests/s". I've clarified it, and now it says "200 requests/sec".
I would love to learn about your plans for Service Worker support for the API.
The REST API is primarily targeted at serving the data consumed by increasingly fatter clients, including those taking advantage of ServiceWorkers.
We are also looking into leveraging ServiceWorkers to improve performance and offline support. As part of this effort, we have done some research and prototyping into a) a node environment for running unmodified serviceworker code on behalf of older clients, and b) streaming HTML transformation / composition tooling. We do intend to develop a PWA targeted at mobile web over the next 12 months which might use some of this research, but expect this PWA to be limited to an opt-in beta feature until at least mid 2018.
Latency of hourly vs daily endpoints?
Who could I ask about the latency of some of the REST endpoints? I see that I can get very recent pageviews data, e.g.
accessed now, at 2018/03/17 0230 UTC, gives me an hourly pageviews on the English Wikipedia at timestamp "2018031623", so about ~3.5 hours latency, very nice!
In contrast, asking for the daily number of edits via
only gives me data up to the end of February. This makes me think the daily datasets are generated only once a month? Who can I ask about this latency, and whether more recent "rest_v1/metrics/edits" data can be obtained? Thanks!
Are there any plans to make the per-user Special:Watchlist available?
It already exists in a different api endpoint (API:Watchlist)?
Most of the endpoints say "deprecated" .. are we supposed use them?
When an end point is deprecated, "it means that it has not been useful to clients and will consequently be removed in the near future." These end points were experimental or unstable before, and have been deprecated as part of a larger clean-up effort in preparation for the 1.0 release.
So no, please do not use those end points any more. They are about to be removed in early May.