Trợ giúp về API MediaWiki
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)
- Mô đun này cần quyền đọc.
- Mô đun này chỉ có nhận các yêu cầu POST.
- 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
Các tham số:
Other general parameters are available.
Name of the banner whose content should be purged
- This parameter is required.
Language of the banner content to purge
- This parameter is required.
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Ví dụ:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [open in sandbox]