MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20190902072613|51",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-29T14:08:49Z",
                        "comment": ""
                    },
                    {
                        "revid": 5,
                        "parentid": 1,
                        "user": "Ankank2",
                        "timestamp": "2019-09-02T03:27:27Z",
                        "comment": "\u4ee5\u201c<strong>\u5df2\u5b89\u88c5MediaWiki\u3002</strong>\u201d\u66ff\u6362\u5185\u5bb9"
                    },
                    {
                        "revid": 6,
                        "parentid": 5,
                        "user": "Ankank2",
                        "timestamp": "2019-09-02T03:27:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 7,
                        "parentid": 6,
                        "user": "Ankank2",
                        "timestamp": "2019-09-02T03:27:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 8,
                        "parentid": 7,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:28:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 9,
                        "parentid": 8,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:35:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:36:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 11,
                        "parentid": 10,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:36:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 12,
                        "parentid": 11,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:37:36Z",
                        "comment": "/* \u5e38\u7528\u8d44\u6599 */"
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:41:14Z",
                        "comment": ""
                    },
                    {
                        "revid": 14,
                        "parentid": 13,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:42:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 15,
                        "parentid": 14,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:43:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 16,
                        "parentid": 15,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:44:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 17,
                        "parentid": 16,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:45:09Z",
                        "comment": ""
                    },
                    {
                        "revid": 18,
                        "parentid": 17,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:52:30Z",
                        "comment": ""
                    },
                    {
                        "revid": 19,
                        "parentid": 18,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T03:56:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T04:00:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T04:01:36Z",
                        "comment": ""
                    },
                    {
                        "revid": 22,
                        "parentid": 21,
                        "user": "Ankank2",
                        "timestamp": "2019-09-02T04:40:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 24,
                        "parentid": 22,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:42:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 25,
                        "parentid": 24,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:43:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:44:14Z",
                        "comment": ""
                    },
                    {
                        "revid": 27,
                        "parentid": 26,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:44:50Z",
                        "comment": ""
                    },
                    {
                        "revid": 28,
                        "parentid": 27,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:45:22Z",
                        "comment": ""
                    },
                    {
                        "revid": 42,
                        "parentid": 28,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:49:58Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:51:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 44,
                        "parentid": 43,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:51:38Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-08-31T09:01:05Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"wikitable\" |- ! \u6807\u9898\u6587\u5b57 !! \u6807\u9898\u6587\u5b57 !! \u6807\u9898\u6587\u5b57 |- | \u793a\u4f8b || \u793a\u4f8b || 111 |- | \u793a\u4f8b || \u793a\u4f8b || \u793a\u4f8b |- | \u793a\u4f8b || \u793a\u4f8b || \u793a\u4f8b |}\u201d"
                    },
                    {
                        "revid": 3,
                        "parentid": 2,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-08-31T09:10:39Z",
                        "comment": "/* 111 */ \u65b0\u7ae0\u8282"
                    },
                    {
                        "revid": 4,
                        "parentid": 3,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-08-31T09:10:58Z",
                        "comment": "\u6e05\u7a7a\u9875\u9762"
                    }
                ],
                "ns": 1,
                "title": "\u8ba8\u8bba:\u9996\u9875"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "Admin",
                        "timestamp": "2019-09-02T04:46:01Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */ /* WIKI\u80cc\u666f */    /* \u5de6\u4fa7\u5bfc\u822a\u53ca\u9996\u9875\u6807\u9898\u680f\u6837\u5f0f\u66f4\u6362 */ /* \u5bfc\u822a\u680f\uff08\u4f8b\uff1a===\u5bfc\u822a===\uff09  */ .sy-wi\u2026\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 4,
                "revisions": [
                    {
                        "revid": 29,
                        "parentid": 0,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:46:29Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c__NOTOC__ __NOEDITSECTION__ == \u53d1\u5c55\u53f2 == At the PAX South 2015 convention, Gearbox stated that the game was in development and had been since sometime in 2015, wi\u2026\u201d"
                    },
                    {
                        "revid": 30,
                        "parentid": 29,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:56:40Z",
                        "comment": ""
                    },
                    {
                        "revid": 31,
                        "parentid": 30,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:57:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 31,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:58:22Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u6e38\u620f\u4ecb\u7ecd"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 33,
                        "parentid": 0,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T05:59:37Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c__NOTOC__ __NOEDITSECTION__  <div style=\"float:left; width:70%;margin:0 20px;\">   '''Lady Aurelia Hammerlock''' is the playable Baroness class character in ''Borderl\u2026\u201d"
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:11:12Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 34,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:12:07Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 35,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:32:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:34:22Z",
                        "comment": ""
                    },
                    {
                        "revid": 38,
                        "parentid": 37,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:35:21Z",
                        "comment": ""
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:38:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 40,
                        "parentid": 39,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:38:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 41,
                        "parentid": 40,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:39:06Z",
                        "comment": ""
                    },
                    {
                        "revid": 45,
                        "parentid": 41,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:58:36Z",
                        "comment": ""
                    },
                    {
                        "revid": 46,
                        "parentid": 45,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T06:59:18Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T07:06:08Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 47,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T07:12:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 48,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T07:16:18Z",
                        "comment": ""
                    },
                    {
                        "revid": 50,
                        "parentid": 49,
                        "user": "\u9752\u8863",
                        "timestamp": "2019-09-02T07:19:59Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u83ab\u6cfd"
            }
        ]
    }
}