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=download
(main | download)
- This module requires read rights.
 - Source: FileApi
 - License: AGPL-3.0-or-later
 
Downloads a file stored in the file namespace through the action api
Specific parameters:
Other general parameters are available.
- title
 The media file title to retrieve
- pageid
 The pageid of the media file to retrieve
- Type: integer
 
Example:
- Fetch the file Example.ogv
 - api.php?action=download&title=File:Example.ogv [open in sandbox]