MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20190711051754|46",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "log",
                "ns": 2,
                "title": "User:John",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 56,
                "timestamp": "2025-05-15T04:18:16Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "User:Hello",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 55,
                "timestamp": "2025-04-22T20:06:23Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "User:Alice",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 54,
                "timestamp": "2025-03-12T23:24:27Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "User:Letter3club",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 53,
                "timestamp": "2022-04-06T02:53:39Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "User:Sydney",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 52,
                "timestamp": "2021-06-22T14:18:18Z"
            },
            {
                "type": "edit",
                "ns": 2,
                "title": "User:Dimpurr",
                "pageid": 11,
                "revid": 54,
                "old_revid": 52,
                "rcid": 51,
                "timestamp": "2020-11-01T08:34:39Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u521b\u4f24\uff08\u767d\u6c42\u6069\uff09",
                "pageid": 14,
                "revid": 53,
                "old_revid": 0,
                "rcid": 50,
                "timestamp": "2020-11-01T08:33:02Z"
            },
            {
                "type": "edit",
                "ns": 2,
                "title": "User:Dimpurr",
                "pageid": 11,
                "revid": 52,
                "old_revid": 51,
                "rcid": 49,
                "timestamp": "2020-11-01T08:28:22Z"
            },
            {
                "type": "edit",
                "ns": 2,
                "title": "User:Dimpurr",
                "pageid": 11,
                "revid": 51,
                "old_revid": 46,
                "rcid": 48,
                "timestamp": "2019-07-11T05:19:39Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u5c11\u5e74\u4e2d\u56fd\uff08\u4e01\u4e09\uff09",
                "pageid": 13,
                "revid": 50,
                "old_revid": 49,
                "rcid": 47,
                "timestamp": "2019-07-11T05:18:45Z"
            }
        ]
    }
}