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)
- Questo modulo richiede i diritti di lettura.
- Questo modulo accetta solo richieste POST.
- Fonte: CentralNotice
- Licenza: 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
Parametri specifici:
Sono disponibili altri parametri generali.
Name of the banner whose content should be purged
- This parameter is required.
Language of the banner content to purge
- This parameter is required.
Un token "csrf" recuperato da action=query&meta=tokens
- This parameter is required.
Esempio:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [apri in una sandbox]