API - rccontinue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

API - rccontinue

Czuma, Marek
Hi, I try to write mechanism of fetching new data using your API. And I am confused, because API response in recent changes endpoint includes "rccontinue" like this: "20181222184231|119590". What is it? I mean this "|" and second value.


_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: API - rccontinue

Gergo Tisza
On Sun, Dec 23, 2018 at 4:48 PM Czuma, Marek <[hidden email]> wrote:
Hi, I try to write mechanism of fetching new data using your API. And I am confused, because API response in recent changes endpoint includes "rccontinue" like this: "20181222184231|119590". What is it? I mean this "|" and second value.

It's meant to be included in the followup request, to continue the list of changes from where you have left off. See https://www.mediawiki.org/wiki/API:Query#Continuing_queries
The value is meant to be opaque to the client. It's the combination of rc_timestamp and rc_id.

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api