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

list=centralnoticeactivecampaigns (cnac)

(main | query | centralnoticeactivecampaigns)
  • Mô đun này cần quyền đọc.
  • Source: CentralNotice
  • License: GPL-2.0-or-later

Get a list of currently active campaigns with start and end dates and associated banners.

Tham số:
Other general parameters are available.
cnacincludefuture

Include enabled future campaigns (as well as currently active campaigns).

Type: boolean (details)
Ví dụ:
Get a list of currently active campaigns with start and end dates and associated banners.
api.php?action=query&list=centralnoticeactivecampaigns&format=json [open in sandbox]