MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20240707112232|1",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Alice",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 11,
                "timestamp": "2025-04-01T06:05:16Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:TestUser",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 10,
                "timestamp": "2025-03-31T16:47:53Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:MyName",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 9,
                "timestamp": "2025-03-31T16:47:53Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:John",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 8,
                "timestamp": "2025-03-31T16:47:53Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Hello",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 7,
                "timestamp": "2025-03-31T16:47:53Z"
            },
            {
                "type": "edit",
                "ns": 3,
                "title": "\u7528\u6237\u8ba8\u8bba:\ud83d\ude09\u871c\u96ea\u51b0\u57ce\u7a00\u5ba2",
                "pageid": 3,
                "revid": 6,
                "old_revid": 5,
                "rcid": 6,
                "timestamp": "2024-07-07T13:03:23Z"
            },
            {
                "type": "new",
                "ns": 3,
                "title": "\u7528\u6237\u8ba8\u8bba:\ud83d\ude09\u871c\u96ea\u51b0\u57ce\u7a00\u5ba2",
                "pageid": 3,
                "revid": 5,
                "old_revid": 0,
                "rcid": 5,
                "timestamp": "2024-07-07T12:55:04Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:\ud83d\ude09\u871c\u96ea\u51b0\u57ce\u7a00\u5ba2",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 4,
                "timestamp": "2024-07-07T12:42:18Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "revid": 4,
                "old_revid": 1,
                "rcid": 3,
                "timestamp": "2024-07-07T11:27:55Z"
            },
            {
                "type": "edit",
                "ns": 2,
                "title": "\u7528\u6237:Patchouli",
                "pageid": 2,
                "revid": 3,
                "old_revid": 2,
                "rcid": 2,
                "timestamp": "2024-07-07T11:25:01Z"
            }
        ]
    }
}