API:Patrol

Token
To patrol a request, an edit token is required. Instructions on how to get an edit token is described at API:Edit - Create&Edit pages.

Patrolling changes
You can patrol changes, as long as $wgUseRCPatrol is set to true.

Parameters

 * : Revision ID to patrol
 * : The token obtained in the previous request. Take care to encode the  as

Possible errors
In addition to the usual stuff:
 * code: cantpatrol
 * info: You don't have permission to patrol changes
 * code: patrolnotenabled
 * info: Patrolling is not enabled on this wiki