Talk:Wikimedia REST API

Jump to navigation Jump to search

About this board

2603:3023:460:0:6C41:4E12:86FE:8964 (talkcontribs)


Reply to "What does it actually do?"
Smith609 (talkcontribs)

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? ~~~~

Skalman (talkcontribs)

It actually did say "200 requests/s". I've clarified it, and now it says "200 requests/sec".

Reply to "API usage limits"
Tomayac (talkcontribs)

I would love to learn about your plans for Service Worker support for the API.

GWicke (talkcontribs)

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.

Reply to "Service Workers"

Latency of hourly vs daily endpoints?

Aldebrn (talkcontribs)

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!

Reply to "Latency of hourly vs daily endpoints?"
Xover (talkcontribs)

Are there any plans to make the per-user Special:Watchlist available? (talkcontribs)
Reply to "Watchlist access?"
GreenC (talkcontribs)
GWicke (talkcontribs)

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.

Reply to "Deprecated?"
There are no older topics