MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
action=centralnoticecdncacheupdatebanner
(main | centralnoticecdncacheupdatebanner)
- このモジュールは読み取りの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- Source: CentralNotice
- License: GPL-2.0+
Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language
パラメーター:
- banner
Name of the banner whose content should be purged
- このパラメーターは必須です。
- language
Language of the banner content to purge
- このパラメーターは必須です。
- token
action=query&meta=tokens から取得した「csrf」トークン
- このパラメーターは必須です。
例:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [サンドボックスで開く]