API:Codeupdate

Prefix: None Required Rights: None POST Only? No  Update CodeReview repository data from master revision control system.

Parameters

 * repo (required) – Name of repository to update . Type: string
 * rev (required) – Revision ID number to update to . Type: integer

Errors Codes

 * invalidrepo – Invalid repo ``repo''.
 * mustbeposted – The codeupdate module requires a POST request.
 * noapiwrite – Editing of this wiki through the API is disabled. Make sure the $wgEnableWriteAPI=true; statement is included in the wiki's LocalSettings.php file.
 * norepo – The repo parameter must be set.
 * norepo – The repo parameter must be set.
 * norev – The rev parameter must be set.
 * norev – The rev parameter must be set.
 * permissiondenied – You don't have permission to update code.
 * readapidenied – You need read permission to use this module.
 * writeapidenied – You're not allowed to edit this wiki through the API.