راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=centralnoticeactivecampaigns (cnac)

(main | query | centralnoticeactivecampaigns)
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: CentralNotice
  • مجوز: GPL-2.0-or-later

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

پارامتر:
Other general parameters are available.
cnacincludefuture

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

نوع: بولی (جزئیات)
نمونه:
Get a list of currently active campaigns with start and end dates and associated banners.
api.php?action=query&list=centralnoticeactivecampaigns&format=json [باز کردن در صفحهٔ تمرین]