MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "TBIL",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "54824": {
                "pageid": 54824,
                "ns": 0,
                "title": "T",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-cn",
                "pagelanguagehtmlcode": "zh-Hans-CN",
                "pagelanguagedir": "ltr",
                "touched": "2014-01-26T00:27:07Z",
                "lastrevid": 55067,
                "length": 25,
                "redirect": "",
                "new": ""
            },
            "54819": {
                "pageid": 54819,
                "ns": 0,
                "title": "T1BC",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-cn",
                "pagelanguagehtmlcode": "zh-Hans-CN",
                "pagelanguagedir": "ltr",
                "touched": "2014-01-26T00:25:04Z",
                "lastrevid": 55062,
                "length": 34,
                "redirect": "",
                "new": ""
            },
            "54859": {
                "pageid": 54859,
                "ns": 0,
                "title": "T3RU",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-cn",
                "pagelanguagehtmlcode": "zh-Hans-CN",
                "pagelanguagedir": "ltr",
                "touched": "2014-01-26T00:29:22Z",
                "lastrevid": 55102,
                "length": 34,
                "redirect": "",
                "new": ""
            },
            "54854": {
                "pageid": 54854,
                "ns": 0,
                "title": "T4",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-cn",
                "pagelanguagehtmlcode": "zh-Hans-CN",
                "pagelanguagedir": "ltr",
                "touched": "2014-01-26T00:27:24Z",
                "lastrevid": 55097,
                "length": 37,
                "redirect": "",
                "new": ""
            }
        }
    }
}