MediaWiki API 结果

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

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

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

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data has changed. To receive raw query-continue data, use the 'rawcontinue' parameter. To silence this warning, pass an empty string for 'continue' in the initial query."
        }
    },
    "batchcomplete": "",
    "continue": {
        "grncontinue": "0.898382312407|0.904067141197|448|0",
        "continue": "grncontinue||"
    },
    "query": {
        "pages": {
            "1552": {
                "pageid": 1552,
                "ns": 0,
                "title": "\u7f1d\u7eab\u673a",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "touched": "2021-01-28T12:40:50Z",
                "lastrevid": 17470,
                "length": 693
            },
            "1554": {
                "pageid": 1554,
                "ns": 0,
                "title": "\u5b8c\u7f8e",
                "contentmodel": "wikitext",
                "pagelanguage": "zh",
                "touched": "2021-01-14T10:43:51Z",
                "lastrevid": 15731,
                "length": 1123
            }
        }
    }
}