رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

format=json

(main | json)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • ماخذ: MediaWiki
  • اجازت نامہ: GPL-2.0-or-later

ڈیٹا کو JSON شکل میں دیتا ہے۔

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
callback

If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.

utf8

If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.

طرز: بولین (تفصیلات)
ascii

If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.

طرز: بولین (تفصیلات)
formatversion

حاصل شدہ مواد کی شکل صورت

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
ذیل کی قدروں میں سے کوئی ایک: 1، 2، latest
طے شدہ: 1