MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Confusion_grey.svg|73",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "2": {
                "pageid": 2,
                "ns": 0,
                "title": "\u4e2d\u570b\u4eba"
            },
            "6": {
                "pageid": 6,
                "ns": 14,
                "title": "\u5206\u7c7b:\u5404\u804c\u4e1a\u4e2d\u56fd\u4eba"
            },
            "11": {
                "pageid": 11,
                "ns": 14,
                "title": "\u5206\u7c7b:\u865a\u6784\u4e2d\u56fd\u4eba"
            },
            "18": {
                "pageid": 18,
                "ns": 14,
                "title": "\u5206\u7c7b:\u4e2d\u56fd\u65cf\u7fa4"
            },
            "25": {
                "pageid": 25,
                "ns": 14,
                "title": "\u5206\u7c7b:\u4e2d\u83ef\u6c11\u570b\u4eba"
            },
            "79": {
                "pageid": 79,
                "ns": 10,
                "title": "\u6a21\u677f:Commons category"
            },
            "108": {
                "pageid": 108,
                "ns": 0,
                "title": "\u67f3\u4f20\u5fd7"
            },
            "117": {
                "pageid": 117,
                "ns": 0,
                "title": "\u6f58\u77f3\u5c79"
            },
            "1206": {
                "pageid": 1206,
                "ns": 10,
                "title": "\u6a21\u677f:Infobox person/doc"
            }
        }
    }
}