API:Revisions

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

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

Sample Code
get_pages_revisions.py

GET Request
Request above is to obtain data for the last five revisions of the page  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 .


 * 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 .


 * The code for this query is located on the git repository at  </>.

Parameter History

 * v1.32: Introduced <tvar|1>, </> Deprecated <tvar|1> </>
 * v1.30: Deprecated <tvar|1>, , , , , , </>
 * v1.27: Introduced <tvar|1> </>
 * v1.26: Introduced <tvar|1> </> Deprecated <tvar|1> </>
 * v1.24: Deprecated <tvar|1> </>
 * v1.21: Introduced <tvar|1>, </>
 * v1.19: Introduced <tvar|1>, </>
 * v1.17: Introduced <tvar|1>, </>
 * v1.16: Introduced <tvar|1>, , , </>
 * v1.15: Introduced <tvar|1>, </>
 * v1.14: Introduced <tvar|1> </>
 * v1.13: Introduced <tvar|1> </>
 * v1.12: Introduced <tvar|1>, </>
 * v1.11: Introduced <tvar|1>, , , , </>