MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
Liquipedia API restrictions
Liquipedia API calls are rate limited, see https://liquipedia.net/api-terms-of-use for further information. Violating access will be blocked to protect our server.
All Liquipedia text content is available under the CC BY-SA 3.0 license (see https://creativecommons.org/licenses/by-sa/3.0/us/). Images have varying licenses (see the file pages of the images).
action=review
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Flagged Revisions
- License: GPL-2.0-or-later
Review a revision by approving or de-approving it.
- revid
The revision ID for which to set the flags.
- comment
Comment for the review.
- unapprove
If set, revision will be unapproved rather than approved.
- Type: boolean (details)
- flag_accuracy
Set the flag accuracy to the specified value.
- One of the following values: 0, 1, 2, 3
- Default: 1
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- Approve revision 12345 with comment "Ok"
- api.php?action=review&revid=12345&token=123AB&flag_accuracy=1&comment=Ok [open in sandbox]