MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Bridge.png|3",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "2": {
                "pageid": 2,
                "ns": 0,
                "title": "330"
            },
            "507": {
                "pageid": 507,
                "ns": 10,
                "title": "Template:BusRouteList"
            },
            "513": {
                "pageid": 513,
                "ns": 0,
                "title": "\u5df4\u58eb\u7dda\u8def\u5c0e\u822a\u9801"
            },
            "846": {
                "pageid": 846,
                "ns": 0,
                "title": "\u6ff1\u6d77B1"
            },
            "1778": {
                "pageid": 1778,
                "ns": 0,
                "title": "\u6771\u839e\u5e02\u57ce\u5df4\u904b\u8f38\u6709\u9650\u516c\u53f8"
            },
            "1785": {
                "pageid": 1785,
                "ns": 0,
                "title": "\u6771\u839e\u5e02\u6ff1\u6d77\u7063\u516c\u5171\u4ea4\u901a\u6709\u9650\u516c\u53f8"
            },
            "1800": {
                "pageid": 1800,
                "ns": 0,
                "title": "\u6771\u839e\u5e02\u6c34\u9109\u65b0\u57ce\u516c\u5171\u6c7d\u8eca\u6709\u9650\u516c\u53f8"
            },
            "1852": {
                "pageid": 1852,
                "ns": 0,
                "title": "\u6771\u839e\u5e02\u5c0f\u5df4\u904b\u8f38\u6709\u9650\u516c\u53f8"
            },
            "1873": {
                "pageid": 1873,
                "ns": 0,
                "title": "\u6771\u839e\u5e02\u677e\u5c71\u6e56\u516c\u5171\u4ea4\u901a\u6709\u9650\u516c\u53f8"
            },
            "1901": {
                "pageid": 1901,
                "ns": 0,
                "title": "\u6771\u839e\u5df4\u58eb\u6709\u9650\u516c\u53f8\u6771\u90e8\u5206\u516c\u53f8"
            }
        }
    }
}