MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20150720082347|40",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 96,
                "revisions": [
                    {
                        "revid": 287,
                        "parentid": 0,
                        "user": "Lyh",
                        "timestamp": "2013-05-22T14:14:35Z",
                        "comment": "\u4ee5\u201c[[\u5206\u7c7b:\u672a\u5b8c\u5de5\u9875\u9762]]  <div class=\"boilerplate metadata\" id=\"construction\"><table style=\"padding: 5px; background-color: #FFFFFF; color: #000000; border: dashed...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 288,
                        "parentid": 287,
                        "user": "Lyh",
                        "timestamp": "2013-05-22T14:27:07Z",
                        "comment": ""
                    },
                    {
                        "revid": 289,
                        "parentid": 288,
                        "user": "*>2210254",
                        "anon": "",
                        "timestamp": "2014-01-09T04:04:46Z",
                        "comment": ""
                    },
                    {
                        "revid": 290,
                        "parentid": 289,
                        "user": "*>2210254",
                        "anon": "",
                        "timestamp": "2014-01-18T10:00:33Z",
                        "comment": ""
                    },
                    {
                        "revid": 291,
                        "parentid": 290,
                        "user": "Tcdw",
                        "timestamp": "2014-01-18T12:10:28Z",
                        "comment": "\u64a4\u9500[[Special:Contributions/Lyh|Lyh]]\uff08[[User talk:Lyh|\u8ba8\u8bba]]\uff09\u7684\u7248\u672c77"
                    },
                    {
                        "revid": 292,
                        "parentid": 291,
                        "minor": "",
                        "user": "Tcdw",
                        "timestamp": "2014-01-18T12:49:39Z",
                        "comment": "\u4fdd\u62a4\u201c[[\u6a21\u677f:\u5de5\u4e8b\u4e2d]]\u201d (\u200e[edit=sysop] (\u65e0\u9650\u671f) \u200e[move=sysop] (\u65e0\u9650\u671f))"
                    },
                    {
                        "revid": 293,
                        "parentid": 292,
                        "user": "Tcdw",
                        "timestamp": "2014-01-20T13:42:35Z",
                        "comment": ""
                    },
                    {
                        "revid": 294,
                        "parentid": 293,
                        "minor": "",
                        "user": "Lyh",
                        "timestamp": "2014-01-20T18:02:41Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "Template:\u5de5\u4e8b\u4e2d"
            },
            {
                "pageid": 29,
                "revisions": [
                    {
                        "revid": 120,
                        "parentid": 0,
                        "minor": "",
                        "user": "*>Default",
                        "anon": "",
                        "timestamp": "2015-07-19T10:15:27Z",
                        "comment": "9 revisions"
                    },
                    {
                        "revid": 121,
                        "parentid": 120,
                        "minor": "",
                        "user": "*>Default",
                        "anon": "",
                        "timestamp": "2015-07-19T10:15:27Z",
                        "comment": "1 revision"
                    },
                    {
                        "revid": 122,
                        "parentid": 120,
                        "user": "*>Default",
                        "anon": "",
                        "timestamp": "2015-07-19T10:15:27Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "Template:Infobox"
            },
            {
                "pageid": 739,
                "revisions": [
                    {
                        "revid": 3596,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T14:02:33Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 3597,
                        "parentid": 3596,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T15:11:37Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Mario Worker 4.4"
            },
            {
                "pageid": 738,
                "revisions": [
                    {
                        "revid": 3591,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T15:30:19Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker 2"
            },
            {
                "pageid": 736,
                "revisions": [
                    {
                        "revid": 3584,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T15:33:46Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker 1.0"
            },
            {
                "pageid": 744,
                "revisions": [
                    {
                        "revid": 3644,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T15:46:16Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker Remake"
            },
            {
                "pageid": 747,
                "revisions": [
                    {
                        "revid": 3663,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T16:02:46Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker\u676f"
            },
            {
                "pageid": 749,
                "revisions": [
                    {
                        "revid": 3688,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T18:48:56Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "N's Land"
            },
            {
                "pageid": 735,
                "revisions": [
                    {
                        "revid": 3570,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T18:53:49Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Legend World"
            },
            {
                "pageid": 751,
                "revisions": [
                    {
                        "revid": 3698,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T18:57:09Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Wonderland"
            },
            {
                "pageid": 750,
                "revisions": [
                    {
                        "revid": 3693,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T18:58:40Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "The Adventure On The Islands"
            },
            {
                "pageid": 732,
                "revisions": [
                    {
                        "revid": 3550,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:00:01Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Bowser's Empire"
            },
            {
                "pageid": 742,
                "revisions": [
                    {
                        "revid": 3617,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:04:39Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker Golden Square"
            },
            {
                "pageid": 733,
                "revisions": [
                    {
                        "revid": 3556,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:20:19Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Brand-new Experience Maps"
            },
            {
                "pageid": 745,
                "revisions": [
                    {
                        "revid": 3651,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:39:56Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker Village"
            },
            {
                "pageid": 753,
                "revisions": [
                    {
                        "revid": 3705,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:43:57Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "\u5c01\u9876"
            },
            {
                "pageid": 743,
                "revisions": [
                    {
                        "revid": 3623,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:45:22Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "Mario Worker Golden Square\u8bc4\u5206\u6807\u51c6"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:53:41Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 7,
                        "parentid": 6,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T03:45:35Z",
                        "comment": "\u5b8c\u5584\u4e86\u57fa\u672c\u4fe1\u606f\u3002"
                    },
                    {
                        "revid": 8,
                        "parentid": 7,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T04:02:05Z",
                        "comment": "\u4e3b\u8981\u5c06\u539fwiki\u5185\u5bb9\u642c\u8fd0\u5230\u8fd9\u91cc\u5e76\u4f5c\u51fa\u9002\u5f53\u4fee\u6539"
                    },
                    {
                        "revid": 9,
                        "parentid": 8,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T04:03:26Z",
                        "comment": "\u4fee\u6b63\u4e86\u6392\u7248\u95ee\u9898"
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-20T04:25:48Z",
                        "comment": "\u5927\u91cf\u7ec6\u8282\u4f18\u5316"
                    },
                    {
                        "revid": 11,
                        "parentid": 10,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:27:33Z",
                        "comment": "\u6dfb\u52a0\u5206\u7c7b"
                    }
                ],
                "ns": 0,
                "title": "\u6c38\u8fdc\u7684\u9a6c\u91cc\u5965"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 86,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-19T19:54:37Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 87,
                        "parentid": 86,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T04:26:56Z",
                        "comment": "\u521d\u6b65\u6982\u62ec\u8bcd\u6761"
                    }
                ],
                "ns": 0,
                "title": "\u767e\u5ea6\u6c38\u8fdc\u7684\u739b\u4e3d\u5427"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 45,
                        "parentid": 0,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T05:50:24Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 46,
                        "parentid": 45,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T05:53:15Z",
                        "comment": "\u5b8c\u5584\u4e86\u6a21\u677f\uff0c\u4f46\u6ca1\u6709\u5185\u5bb9"
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T06:03:09Z",
                        "comment": "\u521d\u6b65\u66f4\u6539"
                    },
                    {
                        "revid": 48,
                        "parentid": 47,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T06:05:20Z",
                        "comment": "\u8fdb\u4e00\u6b65\u5b8c\u5584"
                    },
                    {
                        "revid": 49,
                        "parentid": 48,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T06:05:47Z",
                        "comment": "\u4fee\u6b63\u6392\u7248\u62bd\u98ce"
                    },
                    {
                        "revid": 50,
                        "parentid": 49,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:26:31Z",
                        "comment": "\u6dfb\u52a0\u5206\u7c7b"
                    },
                    {
                        "revid": 51,
                        "parentid": 50,
                        "user": "115.199.229.136",
                        "anon": "",
                        "timestamp": "2015-07-20T08:02:09Z",
                        "comment": "\u589e\u52a0\u4e86Infobox"
                    },
                    {
                        "revid": 52,
                        "parentid": 51,
                        "minor": "",
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T08:11:44Z",
                        "comment": "\u5b8c\u5584\u5185\u5bb9\u548c\u56fe\u7247"
                    }
                ],
                "ns": 0,
                "title": "Super Mario Forever 2014"
            },
            {
                "pageid": 9,
                "revisions": [
                    {
                        "revid": 39,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-20T05:59:34Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "New Super Mario Forever"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 80,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-20T06:01:20Z",
                        "comment": "\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 81,
                        "parentid": 80,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:27:06Z",
                        "comment": "\u6dfb\u52a0\u5206\u7c7b"
                    }
                ],
                "ns": 0,
                "title": "Rainbow Engine"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "Newlife2017",
                        "timestamp": "2015-07-20T06:07:37Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u5f85\u4fee\u6539"
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:26:16Z",
                        "comment": "\u6dfb\u52a0\u5206\u7c7b"
                    }
                ],
                "ns": 0,
                "title": "Mario Forever Remake"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 73,
                        "parentid": 0,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:22:36Z",
                        "comment": "\u65b0\u9801\u9762: test"
                    },
                    {
                        "revid": 74,
                        "parentid": 73,
                        "user": "*>\u65e0\u89c6\u6211233",
                        "anon": "",
                        "timestamp": "2015-07-20T07:25:38Z",
                        "comment": "[[WP:AES|\u2190]]\u91cd\u5b9a\u5411\u5230[[\u767e\u5ea6\u6c38\u8fdc\u7684\u739b\u4e3d\u5427]]"
                    }
                ],
                "ns": 0,
                "title": "\u6c38\u8fdc\u7684\u739b\u4e3d\u5427"
            }
        ]
    }
}