MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{ "batchcomplete": "", "continue": { "accontinue": "\u611b\u723e\u862d\u8a9e\u7f3a\u9677\u52d5\u8a5e", "continue": "-||" }, "query": { "allcategories": [ { "size": 395, "pages": 0, "files": 395, "subcats": 0, "*": "CNS\u90e8\u4ef6\u5716\u6a94" }, { "size": 10, "pages": 10, "files": 0, "subcats": 0, "*": "Projects" }, { "size": 12, "pages": 1, "files": 0, "subcats": 11, "*": "\u4e3b\u5206\u985e" }, { "size": 5, "pages": 1, "files": 0, "subcats": 4, "*": "\u4eba\u6587\u5b78" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "\u4f7f\u7528\u6578\u5b78\u6a19\u7c64\u4e4b\u68c4\u7528\u683c\u5f0f\u7684\u9801\u9762" }, { "size": 1, "pages": 0, "files": 0, "subcats": 1, "*": "\u54f2\u5b78" }, { "size": 4, "pages": 3, "files": 1, "subcats": 0, "*": "\u5fc3\u7406\u5b78" }, { "size": 11, "pages": 7, "files": 1, "subcats": 3, "*": "\u611b\u723e\u862d\u8a9e" }, { "size": 1, "pages": 0, "files": 0, "subcats": 1, "*": "\u611b\u723e\u862d\u8a9e\u4e0d\u898f\u5247\u52d5\u8a5e" }, { "size": 18, "pages": 18, "files": 0, "subcats": 0, "*": "\u611b\u723e\u862d\u8a9e\u6a21\u677f" } ] } }