MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20250223062220|370",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "new",
                "ns": 828,
                "title": "\u6a21\u5757:BasicTest",
                "pageid": 137,
                "revid": 366,
                "old_revid": 0,
                "rcid": 380,
                "timestamp": "2025-04-12T18:06:34Z"
            },
            {
                "type": "new",
                "ns": 828,
                "title": "\u6a21\u5757:SandboxSecurityTest",
                "pageid": 136,
                "revid": 365,
                "old_revid": 0,
                "rcid": 379,
                "timestamp": "2025-04-12T17:53:53Z"
            },
            {
                "type": "edit",
                "ns": 828,
                "title": "\u6a21\u5757:Test",
                "pageid": 110,
                "revid": 364,
                "old_revid": 363,
                "rcid": 378,
                "timestamp": "2025-04-12T17:43:32Z"
            },
            {
                "type": "edit",
                "ns": 828,
                "title": "\u6a21\u5757:Test",
                "pageid": 110,
                "revid": 363,
                "old_revid": 303,
                "rcid": 377,
                "timestamp": "2025-04-12T17:02:25Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Alice",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 376,
                "timestamp": "2025-03-01T09:47:53Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:MyName",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 375,
                "timestamp": "2025-03-01T00:12:54Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:TestUser",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 374,
                "timestamp": "2025-02-28T23:24:54Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:John",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 373,
                "timestamp": "2025-02-28T23:24:54Z"
            },
            {
                "type": "log",
                "ns": 2,
                "title": "\u7528\u6237:Hello",
                "pageid": 0,
                "revid": 0,
                "old_revid": 0,
                "rcid": 372,
                "timestamp": "2025-02-28T23:24:54Z"
            },
            {
                "type": "new",
                "ns": 0,
                "title": "\u5927\u660e\uff1a\u6211\u6700\u5f3a\u7687\u5b59\uff0c\u8bf7\u8001\u6731\u9000\u4f4d",
                "pageid": 135,
                "revid": 362,
                "old_revid": 0,
                "rcid": 371,
                "timestamp": "2025-02-23T06:42:39Z"
            }
        ]
    }
}