MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250825052804|25",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 35,
                "ns": 0,
                "title": "\u660e\u89c1\u53f8",
                "pageid": 18,
                "logpage": 18,
                "params": {
                    "curid": 42,
                    "previd": 0
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Owo",
                "timestamp": "2025-09-06T08:57:11Z",
                "comment": ""
            },
            {
                "logid": 34,
                "ns": 2,
                "title": "\u7528\u6237:\u7396\u5c14Jor",
                "pageid": 20,
                "logpage": 20,
                "params": {
                    "curid": 51,
                    "previd": 0
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Owo",
                "timestamp": "2025-08-27T10:34:19Z",
                "comment": ""
            },
            {
                "logid": 33,
                "ns": 2,
                "title": "\u7528\u6237:\u7396\u5c14Jor",
                "pageid": 20,
                "logpage": 20,
                "revid": 51,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u7396\u5c14Jor",
                "timestamp": "2025-08-27T10:33:49Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6316\u5751\u4e2d\u2026\u2026  == \u4e1c\u5929 ==  * [[\u4e1c\u5929|\u4e16\u754c\u89c2\u4ecb\u7ecd]] * OC\uff1a[[\u660e\u89c1\u53f8]] * OC\uff1a[[\u6000\u7075\u6734]] * OC\uff1a[[\u5f62\u7167\u5f71]]\u201d"
            },
            {
                "logid": 32,
                "ns": 12,
                "title": "\u5e2e\u52a9:\u7f16\u8f91\u9875\u9762",
                "pageid": 19,
                "logpage": 19,
                "revid": 47,
                "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": "Owo",
                "timestamp": "2025-08-27T09:39:00Z",
                "comment": ""
            },
            {
                "logid": 31,
                "ns": 12,
                "title": "\u5e2e\u52a9:\u7f16\u8f91\u9875\u9762",
                "pageid": 19,
                "logpage": 19,
                "revid": 46,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Owo",
                "timestamp": "2025-08-27T09:38:45Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5f53\u524d\u7f16\u8f91\u9875\u9762\u53ef\u7528\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u548c\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\u3002  == \u53ef\u89c6\u5316\u7f16\u8f91\u5668 == \u64cd\u4f5c\u6559\u7a0b\u89c1[[mediawikiwiki:Help:VisualEditor/User_guide/zh|\u6b64]]\u3002  == \u6e90\u4ee3\u7801\u7f16\u8f91\u5668 == \u7f16\u8f91\u8bed\u6cd5\u89c1[[mediawikiwiki:Help:Formatting/zh|\u6b64]]\u3002\u201d"
            },
            {
                "logid": 30,
                "ns": 0,
                "title": "\u4e1c\u5929",
                "pageid": 16,
                "logpage": 16,
                "revid": 44,
                "params": {},
                "type": "protect",
                "action": "unprotect",
                "user": "Owo",
                "timestamp": "2025-08-27T04:30:41Z",
                "comment": ""
            },
            {
                "logid": 29,
                "ns": 0,
                "title": "\u660e\u89c1\u53f8",
                "pageid": 18,
                "logpage": 18,
                "revid": 42,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u7396\u5c14Jor",
                "timestamp": "2025-08-27T04:23:03Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u50cf\u6cd5\u660e\u89c1\u53f8\uff0c\u4e1c\u5c71\u4eba\u5883\u88ab\u56da\u7981\u4e8e\u4f5b\u5854\u601d\u8fc7\u767e\u5e74\u7684\u4f5b\u8109\u5927\u5f1f\u5b50\uff0c\u4e5f\u662f\u5c71\u4eba\u4f5b\u5c0a\u552f\u4e00\u7684\u4eb2\u4f20\u5973\u5f1f\u5b50\u3002\u4e8c\u5341\u5165\u5c71\u3001\u81f3\u4eca\u56db\u7532\u5b50\u4fee\u4e3a\uff0c\u4e3a\u4e1c\u5c71\u4eba\u5883\u4e2d\u9752\u4e00\u4ee3\u5eb8\u4e2d\u4f7c\u4f7c\u3002\u79c0\u9aa8\u6e05\u50cf\u3001\u7ec6\u7709\u7389\u76ee\uff0c\u6e05\u5723\u800c\u89c1\u5a01\u4eea\uff1b\u4e0a\u8eab\u534a\u8d64\uff0c\u8170\u7cfb\u7eeb\u7f57\uff0c\u80a9\u62ab\u5f69\u5dfe\u957f\u5e26\uff0c\u5f62\u5982\u6566\u714c\u98de\u5929\uff1b\u904d\u8eab\u91d1\u7389\u7409\u7483\u4e3a\u9970\uff0c\u6709\u4e94\u5b9d\u76db\u5149\u62a4\u8eab\u3002\u5728\u9053\u541b\u6218\u6b7b\u4e4b\u9645\u91cd\u65b0\u51fa\u5c71\uff0c\u4ee3\u7ba1\u4e1c\u5c71\u4eba\u5883\u51e1\u4fd7\u4e8b\u52a1\uff0c\u63a5\u4efb\u7edf\u9886\u4e1c\u2026\u201d"
            },
            {
                "logid": 28,
                "ns": 0,
                "title": "Test",
                "pageid": 0,
                "logpage": 17,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Owo",
                "timestamp": "2025-08-25T05:54:17Z",
                "comment": ""
            },
            {
                "logid": 27,
                "ns": 0,
                "title": "Test",
                "pageid": 0,
                "logpage": 17,
                "revid": 41,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "111",
                "timestamp": "2025-08-25T05:53:23Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c111\u201d"
            },
            {
                "logid": 26,
                "ns": 2,
                "title": "\u7528\u6237:111",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "111",
                "timestamp": "2025-08-25T05:52:28Z",
                "comment": ""
            }
        ]
    }
}