MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{ "batchcomplete": "", "query": { "allcategories": [ { "size": 7, "pages": 7, "files": 0, "subcats": 0, "*": "Widgets" }, { "size": 6, "pages": 6, "files": 0, "subcats": 0, "*": "\u4eba\u72fc\u7269\u8a9e" }, { "size": 0, "pages": 0, "files": 0, "subcats": 0, "*": "\u521d\u63a5\u89f8\u7bc7" }, { "size": 19, "pages": 19, "files": 0, "subcats": 0, "*": "\u8c93\u53c8\u4f3a\u670d\u5668" }, { "size": 5, "pages": 5, "files": 0, "subcats": 0, "*": "\u904a\u6232\u5fc3\u5f97" }, { "size": 25, "pages": 24, "files": 0, "subcats": 1, "*": "\u904a\u6232\u6559\u5b78" }, { "size": 9, "pages": 8, "files": 0, "subcats": 1, "*": "\u904a\u6232\u6559\u5b78\u6307\u5357" }, { "size": 0, "pages": 0, "files": 0, "subcats": 0, "*": "\u904a\u6232\u6559\u5b78\u6307\u5357/\u521d\u63a5\u89f8\u7bc7" }, { "size": 7, "pages": 7, "files": 0, "subcats": 0, "*": "\u947d\u77f3/\u5bd2\u87ec\u4f3a\u670d\u5668" }, { "size": 7, "pages": 7, "files": 0, "subcats": 0, "*": "\u9e1a\u9d61\u4f3a\u670d\u5668" } ] } }