Hi Celeste, Thanks for pinging us about that!
I noticed the edits endpoint has been updated to limit the date range to
about 367 days’ worth of data per request.
The limit on the time range length was placed on purpose to avoid receiving very long requests. Requests of several years worth of data can acquire too much of the API server power and block other requests.
will I just have to request sequences of the shorter date ranges?
Yes, please, sorry for the inconvenience!
Cheers!
On Sat, May 4, 2019 at 7:01 PM Celeste A Manughian-Peter < celeste.manughian-peter@aero.org> wrote:
Hello!
I had set up some endpoints from the wikimedia API a while back and it has been running smoothly in my project since then. I noticed the edits endpoint has been updated to limit the date range to about 367 days’ worth of data per request. For example:
https://wikimedia.org/api/rest_v1/metrics/edits/per-page/en.wikipedia/Europe...
vs.
https://wikimedia.org/api/rest_v1/metrics/edits/per-page/en.wikipedia/Europe... https://wikimedia.org/api/rest_v1/metrics/edits/per-page/en.wikipedia/Europe/all-editor-types/monthly/20170502/20190502
Is there still a way to get longer periods of data through this endpoint or will I just have to request sequences of the shorter date ranges?
Thanks a bunch!
Celeste
Celeste Manughian-Peter Data Science and Artificial Intelligence Department The Aerospace Corporation 310.336.6928
*Celeste.manughian-peter@aero.org Celeste.manughian-peter@aero.org*
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics