MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251221110437|45146",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 45162,
                "ns": 2,
                "title": "\u7528\u6237:3546933603862924",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 29306
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546933603862924",
                "timestamp": "2025-12-21T21:25:57Z",
                "comment": ""
            },
            {
                "logid": 45161,
                "ns": 2,
                "title": "\u7528\u6237:2772780",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 29305
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "2772780",
                "timestamp": "2025-12-21T14:55:51Z",
                "comment": ""
            },
            {
                "logid": 45160,
                "ns": 2,
                "title": "\u7528\u6237:3546706268391852",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 29304
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546706268391852",
                "timestamp": "2025-12-21T12:57:00Z",
                "comment": ""
            },
            {
                "logid": 45159,
                "ns": 2,
                "title": "\u7528\u6237:12841112",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 29303
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "12841112",
                "timestamp": "2025-12-21T12:48:01Z",
                "comment": ""
            },
            {
                "logid": 45158,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u7684\u5957\u88c5.png",
                "pageid": 7421,
                "logpage": 7421,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "1678254192",
                "timestamp": "2025-12-21T12:23:25Z",
                "comment": ""
            },
            {
                "logid": 45157,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u7684\u53cc\u9a6c\u5c3e.png",
                "pageid": 7420,
                "logpage": 7420,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "1678254192",
                "timestamp": "2025-12-21T12:23:25Z",
                "comment": ""
            },
            {
                "logid": 45154,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u7684\u5957\u88c5.png",
                "pageid": 7421,
                "logpage": 7421,
                "params": {
                    "img_sha1": "esjtgttzu5a4u7xpdntlo2spucdg9zy",
                    "img_timestamp": "2025-12-21T12:23:25Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "1678254192",
                "timestamp": "2025-12-21T12:23:25Z",
                "comment": ""
            },
            {
                "logid": 45152,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u7684\u53cc\u9a6c\u5c3e.png",
                "pageid": 7420,
                "logpage": 7420,
                "params": {
                    "img_sha1": "avtr83iw97gr78x10p0u6l84mt7z3cg",
                    "img_timestamp": "2025-12-21T12:23:25Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "1678254192",
                "timestamp": "2025-12-21T12:23:25Z",
                "comment": ""
            },
            {
                "logid": 45151,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u6d77\u62a5.png",
                "pageid": 7419,
                "logpage": 7419,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "1112346803",
                "timestamp": "2025-12-21T12:23:21Z",
                "comment": ""
            },
            {
                "logid": 45147,
                "ns": 6,
                "title": "\u6587\u4ef6:\u6a59\u6d77\u62a5.png",
                "pageid": 7419,
                "logpage": 7419,
                "params": {
                    "img_sha1": "slhb79r2bdg0m66wt3kgfo3raowqpgu",
                    "img_timestamp": "2025-12-21T12:23:19Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "1112346803",
                "timestamp": "2025-12-21T12:23:19Z",
                "comment": ""
            }
        ]
    }
}