MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "query": { "namespaces": { "-2": { "id": -2, "case": "first-letter", "canonical": "Media", "*": "\u5a92\u4f53\u6587\u4ef6" }, "-1": { "id": -1, "case": "first-letter", "canonical": "Special", "*": "\u7279\u6b8a" }, "0": { "id": 0, "case": "first-letter", "content": "", "*": "" }, "1": { "id": 1, "case": "first-letter", "subpages": "", "canonical": "Talk", "*": "\u8ba8\u8bba" }, "2": { "id": 2, "case": "first-letter", "subpages": "", "canonical": "User", "*": "\u7528\u6237" }, "3": { "id": 3, "case": "first-letter", "subpages": "", "canonical": "User talk", "*": "\u7528\u6237\u8ba8\u8bba" }, "4": { "id": 4, "case": "first-letter", "subpages": "", "canonical": "Project", "*": "\u7ef4\u57fa\u751f\u6d3b-\u4e13\u6ce8\u4e2a\u4eba\u5065\u5eb7\u7ba1\u7406\u7684\u767e\u79d1\u5168\u4e66" }, "5": { "id": 5, "case": "first-letter", "subpages": "", "canonical": "Project talk", "*": "\u7ef4\u57fa\u751f\u6d3b-\u4e13\u6ce8\u4e2a\u4eba\u5065\u5eb7\u7ba1\u7406\u7684\u767e\u79d1\u5168\u4e66\u8ba8\u8bba" }, "6": { "id": 6, "case": "first-letter", "canonical": "File", "*": "\u6587\u4ef6" }, "7": { "id": 7, "case": "first-letter", "subpages": "", "canonical": "File talk", "*": "\u6587\u4ef6\u8ba8\u8bba" }, "8": { "id": 8, "case": "first-letter", "subpages": "", "canonical": "MediaWiki", "namespaceprotection": "editinterface", "*": "MediaWiki" }, "9": { "id": 9, "case": "first-letter", "subpages": "", "canonical": "MediaWiki talk", "*": "MediaWiki\u8ba8\u8bba" }, "10": { "id": 10, "case": "first-letter", "subpages": "", "canonical": "Template", "*": "\u6a21\u677f" }, "11": { "id": 11, "case": "first-letter", "subpages": "", "canonical": "Template talk", "*": "\u6a21\u677f\u8ba8\u8bba" }, "12": { "id": 12, "case": "first-letter", "subpages": "", "canonical": "Help", "*": "\u5e2e\u52a9" }, "13": { "id": 13, "case": "first-letter", "subpages": "", "canonical": "Help talk", "*": "\u5e2e\u52a9\u8ba8\u8bba" }, "14": { "id": 14, "case": "first-letter", "canonical": "Category", "*": "\u5206\u7c7b" }, "15": { "id": 15, "case": "first-letter", "subpages": "", "canonical": "Category talk", "*": "\u5206\u7c7b\u8ba8\u8bba" }, "828": { "id": 828, "case": "first-letter", "subpages": "", "canonical": "Module", "*": "\u6a21\u5757" }, "829": { "id": 829, "case": "first-letter", "subpages": "", "canonical": "Module talk", "*": "\u6a21\u5757\u8ba8\u8bba" } } } }