رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=mystashedfiles (msf)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
Get a list of files in the current user's upload stash.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- msfprop
Which properties to fetch for the files.
- size
- Fetch the file size and image dimensions.
- type
- Fetch the file's MIME type and media type.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): size، type
- طے شدہ: (خالی)
- msflimit
How many files to get.
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- msfcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
مثال
- Get the filekey, file size, and pixel size of files in the current user's upload stash.
- api.php?action=query&list=mystashedfiles&msfprop=size [تختۂ مشق میں کھولیں]