MediaWiki API 結果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "continue": { "accontinue": "Network", "continue": "-||" }, "query": { "allcategories": [ { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Demo templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Documentation shared content templates" }, { "size": 2, "pages": 2, "files": 0, "subcats": 0, "*": "External link templates" }, { "size": 2, "pages": 2, "files": 0, "subcats": 0, "*": "Formatting templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Inline cleanup templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Internal link maintenance templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Language templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Maintenance navigation" }, { "size": 2, "pages": 2, "files": 0, "subcats": 0, "*": "Mbox templates" }, { "size": 1, "pages": 1, "files": 0, "subcats": 0, "*": "Navigational boxes" } ] } }