API:Revisions

GET Request to obtain revision information of page(s).

GET Request
Request above is to obtain revision data of pages with titles API and Main Page

Sample Code
get_pages_revisions.py

GET Request
Request above is to obtain data for the last five revisions of the page API:Geosearch made after the 1st of July 2018, i.e. 2018-07-01 excluding changes made by the user SSethi (WMF)

Additional notes

 * Pages are specified either by  or   parameter; individual revisions are specified by   parameter. See API:Query.
 * Slots can be specified with the  parameter; when the parameter is not present, the API will only return information about the main slot.
 * When using parameters marked as (enum),  must have only one title listed.
 * This module couldn't be used a generated prior to version 1.25.
 * Diff functionality of this module was deprecated in version 1.30 and got moved to API:Compare.
 * The code for this query is located on the git repository at.

Parameter History

 * v1.32: Introduced,  Deprecated
 * v1.30: Deprecated, , , , , ,
 * v1.27: Introduced
 * v1.26: Introduced  Deprecated
 * v1.24: Deprecated
 * v1.21: Introduced ,
 * v1.19: Introduced ,
 * v1.17: Introduced ,
 * v1.16: Introduced, , ,
 * v1.15: Introduced ,
 * v1.14: Introduced
 * v1.13: Introduced
 * v1.12: Introduced ,
 * v1.11: Introduced, , , ,