MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "\u4f0a\u592b\u5229\u7279",
        "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": {
            "292": {
                "pageid": 292,
                "ns": 0,
                "title": "Reroll Guide",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==\u65b0\u624b\u5165\u95e8\u5230\u8fdb\u9636\u653b\u7565==\n===\u5173\u4e8e\u89d2\u8272===\n===\u5173\u4e8e\u9f99===\n===\u5173\u4e8e\u62a4\u7b26===\n===\u5173\u4e8e\u6b66\u5668==="
                    }
                ]
            },
            "289": {
                "pageid": 289,
                "ns": 0,
                "title": "WIKI\u610f\u89c1\u7bb1",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{\u9762\u5305\u5c51}}\n{{\u6ce8\u91ca|\n* \u6709\u4efb\u4f55\u5bf9WIKI\u5efa\u8bbe\u7684\u5efa\u8bae\u90fd\u53ef\u4ee5\u5728\u4e0b\u9762\u63d0\u51fa\u6765\uff0c\u6211\u4eec\u4f1a\u5c3d\u529b\u5b9e\u73b0\u3002\n* \u5f15\u6218\u76f8\u5173\u8bdd\u9898\u4f1a\u88ab\u5220\u9664\u3002\n}}"
                    }
                ]
            }
        }
    }
}