MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251026071829|16",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 26,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "e08f7a0cad2c838c4cdd5e0f126926f0"
                },
                "type": "mwoauthconsumer",
                "action": "approve",
                "user": "Yuhuison",
                "timestamp": "2025-10-28T07:07:38Z",
                "comment": "ok"
            },
            {
                "logid": 25,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "e08f7a0cad2c838c4cdd5e0f126926f0"
                },
                "type": "mwoauthconsumer",
                "action": "propose",
                "user": "Yuhuison",
                "timestamp": "2025-10-28T07:06:00Z",
                "comment": "for Pubchat"
            },
            {
                "logid": 24,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "853885b7a3fba2c1be2523847126094e"
                },
                "type": "mwoauthconsumer",
                "action": "approve",
                "user": "Yuhuison",
                "timestamp": "2025-10-27T08:52:02Z",
                "comment": "good"
            },
            {
                "logid": 23,
                "ns": 2,
                "title": "\u7528\u6237:M4tsuri",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "4d3e5e2ca688b8bf1a16a8adcc7e1aa1"
                },
                "type": "mwoauthconsumer",
                "action": "propose",
                "user": "M4tsuri",
                "timestamp": "2025-10-27T08:51:21Z",
                "comment": "pubchat"
            },
            {
                "logid": 22,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "853885b7a3fba2c1be2523847126094e"
                },
                "type": "mwoauthconsumer",
                "action": "propose",
                "user": "Yuhuison",
                "timestamp": "2025-10-27T08:40:36Z",
                "comment": "For Pubchat"
            },
            {
                "logid": 21,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "82fa2fd980dd4fbf1d39d7aba86793aa"
                },
                "type": "mwoauthconsumer",
                "action": "propose",
                "user": "Yuhuison",
                "timestamp": "2025-10-26T11:42:44Z",
                "comment": "!!!"
            },
            {
                "logid": 20,
                "ns": 2,
                "title": "\u7528\u6237:M4tsuri",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "sysop",
                        "oauth"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "oauth",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "M4tsuri",
                "timestamp": "2025-10-26T11:13:00Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "4e4f99a788a8df1596ebcfe5461b0853"
                },
                "type": "mwoauthconsumer",
                "action": "approve",
                "user": "Yuhuison",
                "timestamp": "2025-10-26T07:22:47Z",
                "comment": "1"
            },
            {
                "logid": 18,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "4e4f99a788a8df1596ebcfe5461b0853"
                },
                "type": "mwoauthconsumer",
                "action": "propose",
                "user": "Yuhuison",
                "timestamp": "2025-10-26T07:21:18Z",
                "comment": "123"
            },
            {
                "logid": 17,
                "ns": 2,
                "title": "\u7528\u6237:Yuhuison",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "4:consumer": "a2e2bc25f3135203a3f50f9fd0803f7a"
                },
                "type": "mwoauthconsumer",
                "action": "disable",
                "user": "Yuhuison",
                "timestamp": "2025-10-26T07:19:49Z",
                "comment": "1"
            }
        ]
    }
}