API:RecentChanges

Get all recent changes to the wiki, à la Special:Recentchanges. This module can be used as a generator (but note that, like all other generators, it generates information about pages, not about revisions). Apparently, although many log actions can be viewed using this module, patrol actions are not among them. This module is implemented by ApiQueryRecentChanges.php.

Parameters
Please note that by default, the Recentchanges table is queried is in reverse-chronological order with the most recent changes at the start of the list. This means that any specified  value must be later than any specified   value. This requirement is reversed if a  is specified.

Example
Possible warnings
 * Action ' action ' is not allowed for the current user
 * Thrown when a token is requested that the current user isn't allowed to use

Output
The "" that is returned can be 'edit', 'new', 'move', 'log', 'external', or 'move over redirect'.