MediaWiki API 結果

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

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

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

{
    "warnings": {
        "main": {
            "*": "Unrecognized parameter: *."
        }
    },
    "batchcomplete": "",
    "query": {
        "pages": {
            "597929": {
                "pageid": 597929,
                "ns": 0,
                "title": "\u52aa\u6bd4\u4e9a\u7fb1\u7f8a",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-08-12T15:44:10Z",
                "lastrevid": 1737526,
                "length": 3047
            },
            "164393": {
                "pageid": 164393,
                "ns": 0,
                "title": "\u5343\u5c71\u65e0\u91cf\u89c2",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2022-08-24T12:04:35Z",
                "lastrevid": 648754,
                "length": 685
            },
            "2216507": {
                "pageid": 2216507,
                "ns": 0,
                "title": "\u771f\u7684\u5f88\u8fea\u5965",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2022-06-12T13:40:28Z",
                "lastrevid": 4263886,
                "length": 16804,
                "new": ""
            },
            "84186": {
                "pageid": 84186,
                "ns": 2,
                "title": "User:\u6167\u6167",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2019-01-09T04:36:01Z",
                "lastrevid": 162013,
                "length": 2001578
            },
            "451312": {
                "pageid": 451312,
                "ns": 2,
                "title": "User:\u96e8\u540e\u5f69\u8679",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2020-07-04T13:28:43Z",
                "lastrevid": 1275293,
                "length": 2793,
                "new": ""
            },
            "3973": {
                "pageid": 3973,
                "ns": 12,
                "title": "Help:\u5716\u7247\u4f7f\u7528\u8aaa\u660e",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2022-08-23T07:29:55Z",
                "lastrevid": 4581568,
                "length": 1683
            }
        }
    }
}