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=centralnoticecdncacheupdatebanner
(main | centralnoticecdncacheupdatebanner)
- This module requires read rights.
- This module only accepts POST requests.
- Source: CentralNotice
- License: GPL-2.0-or-later
Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language
Parameters:
- banner
Name of the banner whose content should be purged
- This parameter is required.
- language
Language of the banner content to purge
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [open in sandbox]