MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "T\u6064\u8fde\u8eab\u88d9\u6a44\u6984\u7eff",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "306": {
                "pageid": 306,
                "ns": 0,
                "title": "String",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{\u5c0f\u52a8\u7269\u56fe\u9274\n|\u540d\u79f0=String\n|\u82f1\u6587\u8bd1\u540d=String\n|\u65e5\u6587\u8bd1\u540d=String\n|\u7f16\u53f7=lon00\n|\u521d\u59cb\u53e3\u5934\u7985=\n|\u6027\u522b=\n|\u79cd\u65cf=\n|\u51fa\u751f\u6708=\n|\u51fa\u751f\u65e5=\n|\u661f\u5ea7=\n|\u7279\u957f=\n|\u76ee\u6807=\n|\u5ea7\u53f3\u94ed=\n}}"
                    }
                ]
            },
            "2205": {
                "pageid": 2205,
                "ns": 0,
                "title": "T",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "t"
                    }
                ]
            }
        }
    }
}