MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "glhcontinue": "1763",
        "continue": "glhcontinue||"
    },
    "query": {
        "pages": {
            "696": {
                "pageid": 696,
                "ns": 10,
                "title": "Template:Pp-meta",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:31Z",
                "lastrevid": 424919,
                "length": 5671
            },
            "1756": {
                "pageid": 1756,
                "ns": 10,
                "title": "Template:Pp-meta/doc",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:38Z",
                "lastrevid": 424949,
                "length": 11873
            },
            "1680": {
                "pageid": 1680,
                "ns": 10,
                "title": "Template:Pp-pc1",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:40Z",
                "lastrevid": 3740,
                "length": 178
            },
            "1682": {
                "pageid": 1682,
                "ns": 10,
                "title": "Template:Pp-pc1/doc",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:40Z",
                "lastrevid": 297319,
                "length": 1956
            },
            "291": {
                "pageid": 291,
                "ns": 10,
                "title": "Template:Pp-semi-indef",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:08Z",
                "lastrevid": 650,
                "length": 178
            },
            "352": {
                "pageid": 352,
                "ns": 10,
                "title": "Template:Pp-semi-indef/doc",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:08Z",
                "lastrevid": 297736,
                "length": 1095
            },
            "1743": {
                "pageid": 1743,
                "ns": 10,
                "title": "Template:Pp-vandalism",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:38Z",
                "lastrevid": 297733,
                "length": 2271
            },
            "263": {
                "pageid": 263,
                "ns": 10,
                "title": "Template:Protection templates",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:08Z",
                "lastrevid": 297668,
                "length": 3047
            },
            "45": {
                "pageid": 45,
                "ns": 828,
                "title": "\u6a21\u5757:Protection banner",
                "contentmodel": "Scribunto",
                "pagelanguage": "en",
                "pagelanguagehtmlcode": "en",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:08Z",
                "lastrevid": 180,
                "length": 25486
            },
            "266": {
                "pageid": 266,
                "ns": 828,
                "title": "\u6a21\u5757:Protection banner/doc",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-01-15T20:57:08Z",
                "lastrevid": 600,
                "length": 6199
            }
        }
    }
}