Jump to content

API:Codediff

From mediawiki.org

Prefix: None Required Rights: None POST Only? No

Fetch formatted diff from CodeReview's backing revision control system.

Parameters

[edit]
  • repo (required) – Name of repository to look at. Type: string
  • rev (required) – Revision ID to fetch diff of. Type: integer

Errors Codes

[edit]
  • invalidrepo – Invalid repo ``repo''.
  • 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.
  • nosuchrev – There is no revision with ID 'rev'.
  • permissiondenied – You don't have permission to view code diffs.
  • readapidenied – You need read permission to use this module.