API:เมทา (Meta)

From mediawiki.org
This page is a translated version of the page API:Meta and the translation is 53% complete.

GET request เพื่อดึงข้อมูลที่ไม่เกี่ยวข้องกับเพจ (เมทาดาต้า)

API documentation

Metadata may include site information, information about the currently logged-in user and contents of interface messages, among others.

To make a meta query, add meta as a parameter to your request, with its value being the submodule to fetch the information you need, i.e action=query&meta=submodule.

To fetch information from several submodules in one request, use pipe-separated values like so: action=query&meta=submodule1|submodule2

See individual meta submodules below for examples on how to use meta:

Additional notes

  • In addition to meta submodules on MediaWiki core, there are also submodules from extensions that may help get more metadata.

For a list which includes these submodules, see Special:ApiHelp/query.

  • ไม่สามารถใช้โมดูลย่อยเมทาเป็น ตัวสร้าง ได้

ดูเพิ่ม

  • API:Lists - รายการของหน้าที่ตรงกับเกณฑ์บางอย่าง
  • API:Properties - คุณสมบัติของเพจ รวมถึงการแก้ไขหน้าและเนื้อหา
  • API:Query - ดึงข้อมูลจากและเกี่ยวกับมีเดียวิกิ