MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251123031843|654",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 664,
                "ns": 6,
                "title": "\u6587\u4ef6:Tc.png",
                "pageid": 305,
                "logpage": 305,
                "revid": 1424,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-04-06T11:46:49Z",
                "comment": ""
            },
            {
                "logid": 663,
                "ns": 6,
                "title": "\u6587\u4ef6:Tc.png",
                "pageid": 305,
                "logpage": 305,
                "revid": 1424,
                "params": {
                    "img_sha1": "j0atwfhfpwy9lz9ayce86j2179q1p45",
                    "img_timestamp": "2026-04-06T11:46:49Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-04-06T11:46:49Z",
                "comment": ""
            },
            {
                "logid": 662,
                "ns": 2,
                "title": "\u7528\u6237:Wyt2324810",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 64
                },
                "type": "newusers",
                "action": "create",
                "user": "Wyt2324810",
                "timestamp": "2026-04-06T09:14:41Z",
                "comment": ""
            },
            {
                "logid": 661,
                "ns": 2,
                "title": "\u7528\u6237:AurLemon",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 63
                },
                "type": "newusers",
                "action": "create",
                "user": "AurLemon",
                "timestamp": "2026-01-21T13:41:54Z",
                "comment": ""
            },
            {
                "logid": 660,
                "ns": 6,
                "title": "\u6587\u4ef6:2025-11-08 00.34.41 x-9728 z-15872.png",
                "pageid": 0,
                "logpage": 304,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-01-21T07:10:20Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/\u76ee\u767d\u5149\u660eMejiro Bright|\u76ee\u767d\u5149\u660eMejiro Bright]]\u201d\uff08[[User talk:\u76ee\u767d\u5149\u660eMejiro Bright|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 659,
                "ns": 6,
                "title": "\u6587\u4ef6:2025-11-08 00.34.41 x-9728 z-15872.png",
                "pageid": 0,
                "logpage": 304,
                "revid": 1414,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-01-21T07:10:01Z",
                "comment": ""
            },
            {
                "logid": 658,
                "ns": 6,
                "title": "\u6587\u4ef6:2025-11-08 00.34.41 x-9728 z-15872.png",
                "pageid": 0,
                "logpage": 304,
                "revid": 1414,
                "params": {
                    "img_sha1": "aqgg7fqgee3q6zsdqmlsqgh5rbiqvi6",
                    "img_timestamp": "2026-01-21T07:10:01Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-01-21T07:10:01Z",
                "comment": ""
            },
            {
                "logid": 657,
                "ns": 2,
                "title": "\u7528\u6237:Wlx234",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 62
                },
                "type": "newusers",
                "action": "create",
                "user": "Wlx234",
                "timestamp": "2026-01-15T11:27:15Z",
                "comment": ""
            },
            {
                "logid": 656,
                "ns": 10,
                "title": "\u6a21\u677f:Mainpage/Container/Community",
                "pageid": 303,
                "logpage": 303,
                "revid": 1410,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-01-10T12:14:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><div class=\"h2-container__community container-block h2-comp-card\" id=\"container-community\"> <div class=\"container-info\"> <div class=\"container-info-wrapper\"> <div class=\"container-info-content\"> <div class=\"container-info-pic h2-comp-commonImage\">[[File:Mainpage-Block.svg|link=]]</div> <div class=\"container-info-name\">\u793e\u533a\u5efa\u8bbe</div> </div> </div> <div class=\"container-info-text\"> <div class=\"container-info-title\">\u6e29\u60c5\u6ee1\u76c8\u4e8e\u6b64\uff08\u5927\u6982\uff09\u2026\u201d"
            },
            {
                "logid": 655,
                "ns": 0,
                "title": "\u5b9e\u9a8c\u9875",
                "pageid": 302,
                "logpage": 302,
                "revid": 1409,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76ee\u767d\u5149\u660eMejiro Bright",
                "timestamp": "2026-01-10T12:14:36Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<!-- \u793e\u533a\u5efa\u8bbe --> {{Template:Mainpage/Container/Community}}\u201d"
            }
        ]
    }
}