رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=view-post (vp)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: Flow
- اجازت نامہ: GPL-2.0-or-later
View a post.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- vppostId
ID of the post to view.
- یہ پیرامیٹر لازمی ہے۔
- vpformat
Format to return the content in.
- ذیل کی قدروں میں سے کوئی ایک: fixed-html، html، wikitext
- طے شدہ: fixed-html
مثال
- Fetch the content of a post in Topic:S2tycnas4hcucw8w as wikitext
- api.php?action=flow&submodule=view-post&page=Topic:S2tycnas4hcucw8w&vppostId=???&vpformat=wikitext [تختۂ مشق میں کھولیں]