MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "grncontinue": "0.594820518157|0.594822765886|349709|0",
        "continue": "grncontinue||"
    },
    "query": {
        "pages": {
            "528490": {
                "pageid": 528490,
                "ns": 0,
                "title": "\u864e\u5934\u51e4",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2023-08-06T13:43:05Z",
                "lastrevid": 1635551,
                "length": 5161
            },
            "129484": {
                "pageid": 129484,
                "ns": 0,
                "title": "\u5433\u83ef\u63da",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "pagelanguagehtmlcode": "zh",
                "pagelanguagedir": "ltr",
                "touched": "2022-05-12T10:43:41Z",
                "lastrevid": 4203584,
                "length": 5198
            }
        }
    }
}