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
action=transcodereset
(main | transcodereset)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: TimedMediaHandler
- License: GPL-2.0-or-later
Users with the 'transcode-reset' right can reset and re-run a transcode job.
Specific parameters:
Other general parameters are available.
- title
The media file title.
- This parameter is required.
- transcodekey
The transcode key you wish to reset. Fetch from action=query&prop=transcodestatus.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Reset all transcodes for File:Clip.webm
- api.php?action=transcodereset&title=File:Clip.webm&token=123ABC [open in sandbox]
- Reset the '360_560kbs.webm' transcode key for File:Clip.webm
- api.php?action=transcodereset&title=File:Clip.webm&transcodekey=360_560kbs.webm&token=123ABC [open in sandbox]