MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260111093843|625",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 635,
                "ns": 828,
                "title": "\u6a21\u5757:\u8bbe\u5b9a\u9875v2",
                "pageid": 301,
                "logpage": 301,
                "params": {
                    "description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "VIFF",
                "timestamp": "2026-02-24T07:41:11Z",
                "comment": ""
            },
            {
                "logid": 634,
                "ns": 6,
                "title": "\u6587\u4ef6:Settings.svg",
                "pageid": 318,
                "logpage": 318,
                "params": {
                    "description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)\u200e[upload=sysop] (\u65e0\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "upload",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "VIFF",
                "timestamp": "2026-02-24T07:39:29Z",
                "comment": ""
            },
            {
                "logid": 633,
                "ns": 6,
                "title": "\u6587\u4ef6:ShareButton.svg",
                "pageid": 403,
                "logpage": 403,
                "params": {
                    "description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)\u200e[upload=sysop] (\u65e0\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "upload",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "VIFF",
                "timestamp": "2026-02-24T07:38:47Z",
                "comment": ""
            },
            {
                "logid": 632,
                "ns": 6,
                "title": "\u6587\u4ef6:ShareButton.svg",
                "pageid": 403,
                "logpage": 403,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "VIFF",
                "timestamp": "2026-02-24T07:38:30Z",
                "comment": ""
            },
            {
                "logid": 631,
                "ns": 6,
                "title": "\u6587\u4ef6:ShareButton.svg",
                "pageid": 403,
                "logpage": 403,
                "params": {
                    "img_sha1": "01k9cjfh032tj7wawou6pzi9bwmxo8t",
                    "img_timestamp": "2026-02-24T07:38:30Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "VIFF",
                "timestamp": "2026-02-24T07:38:30Z",
                "comment": ""
            },
            {
                "logid": 630,
                "ns": 6,
                "title": "\u6587\u4ef6:\u81ea\u7531\u843d\u4f53\u4e16\u754c\u5764\u8206\u5168\u56fe.png",
                "pageid": 396,
                "logpage": 396,
                "params": {
                    "img_sha1": "muncu7q72yk995w64cycz6cfsd3qf0u",
                    "img_timestamp": "2026-01-11T15:33:37Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Camongrad",
                "timestamp": "2026-01-11T15:33:37Z",
                "comment": ""
            },
            {
                "logid": 629,
                "ns": 6,
                "title": "\u6587\u4ef6:\u81ea\u7531\u843d\u4f53\u4e16\u754c\u5764\u8206\u5168\u56fe.png",
                "pageid": 396,
                "logpage": 396,
                "params": {
                    "img_sha1": "9fyfim3q3e250rrqmze1hpog37x41vz",
                    "img_timestamp": "2026-01-11T11:24:41Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Camongrad",
                "timestamp": "2026-01-11T11:24:41Z",
                "comment": ""
            },
            {
                "logid": 628,
                "ns": 6,
                "title": "\u6587\u4ef6:\u81ea\u7531\u843d\u4f53\u4e16\u754c\u5764\u8206\u5168\u56fe.png",
                "pageid": 396,
                "logpage": 396,
                "params": {
                    "img_sha1": "21t2h78d8xvnfu4t0x0zisgp5dt6dfn",
                    "img_timestamp": "2026-01-11T11:23:33Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Camongrad",
                "timestamp": "2026-01-11T11:23:33Z",
                "comment": ""
            },
            {
                "logid": 627,
                "ns": 6,
                "title": "\u6587\u4ef6:\u81ea\u7531\u843d\u4f53\u4e16\u754c\u5764\u8206\u5168\u56fe.png",
                "pageid": 396,
                "logpage": 396,
                "params": {
                    "img_sha1": "5kewz4pg9jorcencsnkx6nbpjxewe1m",
                    "img_timestamp": "2026-01-11T11:21:14Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Camongrad",
                "timestamp": "2026-01-11T11:21:14Z",
                "comment": ""
            },
            {
                "logid": 626,
                "ns": 6,
                "title": "\u6587\u4ef6:\u81ea\u7531\u843d\u4f53\u4e16\u754c\u5764\u8206\u5168\u56fe.png",
                "pageid": 396,
                "logpage": 396,
                "params": {
                    "img_sha1": "6mx573jbtuetcptyq6xpfrgd3i65y2z",
                    "img_timestamp": "2026-01-11T09:42:07Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Camongrad",
                "timestamp": "2026-01-11T09:42:07Z",
                "comment": ""
            }
        ]
    }
}