MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20210619161213|32",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "edit",
                "ns": 0,
                "title": "\u56de\u5f62\u9488\u6b6a\u5c41\u80a1\u4e8b\u4ef6",
                "pageid": 20,
                "revid": 43,
                "old_revid": 40,
                "rcid": 42,
                "timestamp": "2021-07-04T15:29:38Z"
            },
            {
                "type": "new",
                "ns": 14,
                "title": "\u5206\u7c7b:\u4eba\u7269",
                "pageid": 25,
                "revid": 42,
                "old_revid": 0,
                "rcid": 41,
                "timestamp": "2021-07-03T16:10:23Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u6b6a\u5c41\u80a1",
                "pageid": 24,
                "revid": 41,
                "old_revid": 0,
                "rcid": 40,
                "timestamp": "2021-07-03T16:08:44Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u56de\u5f62\u9488\u6b6a\u5c41\u80a1\u4e8b\u4ef6",
                "pageid": 20,
                "revid": 40,
                "old_revid": 39,
                "rcid": 39,
                "timestamp": "2021-07-03T16:05:04Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u56de\u5f62\u9488\u6b6a\u5c41\u80a1\u4e8b\u4ef6",
                "pageid": 20,
                "revid": 39,
                "old_revid": 33,
                "rcid": 38,
                "timestamp": "2021-07-03T16:03:12Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u778c\u7761\u4e54",
                "pageid": 23,
                "revid": 38,
                "old_revid": 0,
                "rcid": 37,
                "timestamp": "2021-07-03T15:46:37Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7f8e\u4e3d\u56fd",
                "pageid": 17,
                "revid": 37,
                "old_revid": 36,
                "rcid": 36,
                "timestamp": "2021-07-03T15:46:29Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u7f8e\u4e3d\u56fd",
                "pageid": 17,
                "revid": 36,
                "old_revid": 30,
                "rcid": 35,
                "timestamp": "2021-07-03T15:46:14Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6587\u4ef6:\u778c\u7761\u4e54.jpg",
                "pageid": 22,
                "revid": 35,
                "old_revid": 0,
                "rcid": 34,
                "timestamp": "2021-07-03T15:40:52Z"
            },
            {
                "type": "new",
                "ns": 14,
                "title": "\u5206\u7c7b:\u7f51\u7edc\u4e8b\u4ef6",
                "pageid": 21,
                "revid": 34,
                "old_revid": 0,
                "rcid": 33,
                "timestamp": "2021-06-19T16:20:07Z"
            }
        ]
    }
}