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.
- Font : CentralNotice
- Licéncia : 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
Paramètres :
Other general parameters are available.
Name of the banner whose content should be purged
- Cal aquest paràmetre.
Language of the banner content to purge
- Cal aquest paràmetre.
A "csrf" token retrieved from action=query&meta=tokens
- Cal aquest paràmetre.
Example:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [open in sandbox]