MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251030121551|42",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 52,
                "ns": 1,
                "title": "\u8ba8\u8bba:\u6c99\u76d2",
                "pageid": 40,
                "logpage": 40,
                "revid": 70,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-08T11:09:18Z",
                "comment": "/* test */ \u65b0\u7ae0\u8282"
            },
            {
                "logid": 51,
                "ns": 10,
                "title": "\u6a21\u677f:Bilibili\u89c6\u9891\u6846\u67b6\u6a21\u677f",
                "pageid": 39,
                "logpage": 39,
                "revid": 65,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-04T02:47:35Z",
                "comment": "test"
            },
            {
                "logid": 50,
                "ns": 10,
                "title": "\u6a21\u677f:\u540c\u4eba\u5236\u54c1\u4fe1\u606f",
                "pageid": 38,
                "logpage": 38,
                "revid": 56,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-03T14:01:59Z",
                "comment": "\u540c\u4eba\u5236\u54c1\u4fe1\u606f"
            },
            {
                "logid": 49,
                "ns": 10,
                "title": "\u6a21\u677f:\u793e\u56e2\u6a21\u677f",
                "pageid": 0,
                "logpage": 36,
                "revid": 51,
                "params": {
                    "target_ns": 10,
                    "target_title": "\u6a21\u677f:\u540c\u4eba\u793e\u56e2\u4fe1\u606f",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "Smalllqiang",
                "timestamp": "2025-11-03T09:24:15Z",
                "comment": "\u91cd\u540d"
            },
            {
                "logid": 48,
                "ns": 0,
                "title": "\u6c99\u76d2",
                "pageid": 37,
                "logpage": 37,
                "revid": 43,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-03T08:57:19Z",
                "comment": "\u6c99\u76d2"
            },
            {
                "logid": 47,
                "ns": 10,
                "title": "\u6a21\u677f:\u793e\u56e2\u6a21\u677f",
                "pageid": 0,
                "logpage": 36,
                "revid": 42,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-03T08:55:29Z",
                "comment": "\u793e\u56e2\u6a21\u677f"
            },
            {
                "logid": 46,
                "ns": 4,
                "title": "NMWiki:\u66f4\u65b0\u8bb0\u5f55",
                "pageid": 35,
                "logpage": 35,
                "revid": 41,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-11-01T02:29:10Z",
                "comment": "\u66f4\u65b0\u8bb0\u5f55"
            },
            {
                "logid": 45,
                "ns": 14,
                "title": "\u5206\u7c7b:\u793e\u56e2",
                "pageid": 34,
                "logpage": 34,
                "revid": 40,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-10-31T04:36:20Z",
                "comment": "\u5206\u7c7b:\u793e\u56e2"
            },
            {
                "logid": 44,
                "ns": 14,
                "title": "\u5206\u7c7b:\u7cfb\u7edf\u7ef4\u62a4",
                "pageid": 33,
                "logpage": 33,
                "revid": 39,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-10-31T03:14:35Z",
                "comment": "\u521b\u5efa\u5206\u7c7b\u9875\u9762"
            },
            {
                "logid": 43,
                "ns": 3,
                "title": "\u7528\u6237\u8ba8\u8bba:Smalllqiang",
                "pageid": 32,
                "logpage": 32,
                "revid": 38,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Smalllqiang",
                "timestamp": "2025-10-30T12:16:23Z",
                "comment": "test"
            }
        ]
    }
}