MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240927103859|558",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 568,
                "ns": 0,
                "title": "Luhy",
                "pageid": 60,
                "logpage": 60,
                "params": {
                    "type": "revision",
                    "ids": [
                        "2129"
                    ],
                    "old": {
                        "bitmask": 2,
                        "comment": ""
                    },
                    "new": {
                        "bitmask": 0
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "121.11.239.237",
                "anon": "",
                "timestamp": "2026-09-01T18:02:30Z",
                "comment": ""
            },
            {
                "logid": 567,
                "ns": 0,
                "title": "Luhy",
                "pageid": 60,
                "logpage": 60,
                "params": {
                    "type": "revision",
                    "ids": [
                        "2129"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 2,
                        "comment": ""
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "121.11.239.237",
                "anon": "",
                "timestamp": "2026-09-01T18:02:22Z",
                "comment": ""
            },
            {
                "logid": 566,
                "ns": -1,
                "title": "\u7279\u6b8a:\u65e5\u5fd7/delete",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "type": "logging",
                    "ids": [
                        "564"
                    ],
                    "old": {
                        "bitmask": 1,
                        "content": ""
                    },
                    "new": {
                        "bitmask": 0
                    }
                },
                "type": "delete",
                "action": "event",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T08:02:21Z",
                "comment": "Restoring_log_for_test"
            },
            {
                "logid": 565,
                "ns": -1,
                "title": "\u7279\u6b8a:\u65e5\u5fd7/delete",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "type": "logging",
                    "ids": [
                        "564"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 1,
                        "content": ""
                    }
                },
                "type": "delete",
                "action": "event",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T08:02:05Z",
                "comment": "Testing_log_hide"
            },
            {
                "logid": 564,
                "ns": -1,
                "title": "\u7279\u6b8a:\u65e5\u5fd7/delete",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "type": "logging",
                    "ids": [
                        "560"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 6,
                        "comment": "",
                        "user": ""
                    }
                },
                "type": "delete",
                "action": "event",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T08:00:56Z",
                "comment": ""
            },
            {
                "logid": 563,
                "ns": -1,
                "title": "\u7279\u6b8a:\u65e5\u5fd7/delete",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "type": "logging",
                    "ids": [
                        "560"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 1,
                        "content": ""
                    }
                },
                "type": "delete",
                "action": "event",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T08:00:47Z",
                "comment": ""
            },
            {
                "logid": 562,
                "ns": 0,
                "title": "\u7ec4\u5185\u6210\u5458",
                "pageid": 6,
                "logpage": 6,
                "params": {
                    "type": "revision",
                    "ids": [
                        "18"
                    ],
                    "old": {
                        "bitmask": 1,
                        "content": ""
                    },
                    "new": {
                        "bitmask": 0
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T07:57:39Z",
                "comment": "Restoring_hidden_content_for_security_test"
            },
            {
                "logid": 561,
                "ns": 0,
                "title": "\u7ec4\u5185\u6210\u5458",
                "pageid": 6,
                "logpage": 6,
                "params": {
                    "type": "revision",
                    "ids": [
                        "18"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 1,
                        "content": ""
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "183.226.12.65",
                "anon": "",
                "timestamp": "2026-08-03T07:57:07Z",
                "comment": "Testing_security_vulnerability"
            },
            {
                "logid": 560,
                "actionhidden": "",
                "type": "delete",
                "action": "revision",
                "userhidden": "",
                "timestamp": "2026-07-19T10:03:15Z",
                "commenthidden": ""
            },
            {
                "logid": 559,
                "ns": 0,
                "title": "\u7ec4\u5185\u6210\u5458",
                "pageid": 6,
                "logpage": 6,
                "params": {
                    "type": "revision",
                    "ids": [
                        "1021"
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 1,
                        "content": ""
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "106.84.154.36",
                "anon": "",
                "timestamp": "2025-05-10T02:48:39Z",
                "comment": ""
            }
        ]
    }
}