MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "recentchanges": [
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:John",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 5,
                "timestamp": "2025-04-04T07:40:41Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:TestUser",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 4,
                "timestamp": "2025-04-04T05:33:03Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Alice",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 3,
                "timestamp": "2025-04-04T05:20:11Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Hello",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2,
                "timestamp": "2025-03-15T18:25:35Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:MyName",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 1,
                "timestamp": "2025-03-15T18:25:35Z"
            }
        ]
    }
}