MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260223162105|94",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 104,
                "ns": 2,
                "title": "\u7528\u6237:Beng song",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 30
                },
                "type": "newusers",
                "action": "create",
                "user": "Beng song",
                "timestamp": "2026-05-16T12:21:15Z",
                "comment": ""
            },
            {
                "logid": 103,
                "ns": 6,
                "title": "\u6587\u4ef6:Mine before.png",
                "pageid": 65,
                "logpage": 65,
                "revid": 138,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:58:57Z",
                "comment": "413"
            },
            {
                "logid": 102,
                "ns": 6,
                "title": "\u6587\u4ef6:Mine before.png",
                "pageid": 65,
                "logpage": 65,
                "revid": 138,
                "params": {
                    "img_sha1": "7c4d8wzc250q7kh2ach7e3zuf6ghlia",
                    "img_timestamp": "2026-04-28T16:58:57Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:58:57Z",
                "comment": "413"
            },
            {
                "logid": 101,
                "ns": 6,
                "title": "\u6587\u4ef6:Mine now.png",
                "pageid": 64,
                "logpage": 64,
                "revid": 137,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:56:57Z",
                "comment": "used in scr-413"
            },
            {
                "logid": 100,
                "ns": 6,
                "title": "\u6587\u4ef6:Mine now.png",
                "pageid": 64,
                "logpage": 64,
                "revid": 137,
                "params": {
                    "img_sha1": "c3yw41xdhgz03vx0vipqubxm73iskyx",
                    "img_timestamp": "2026-04-28T16:56:57Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:56:57Z",
                "comment": "used in scr-413"
            },
            {
                "logid": 99,
                "ns": 6,
                "title": "\u6587\u4ef6:Jisi.png",
                "pageid": 63,
                "logpage": 63,
                "revid": 136,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:54:40Z",
                "comment": "used in scr-413"
            },
            {
                "logid": 98,
                "ns": 6,
                "title": "\u6587\u4ef6:Jisi.png",
                "pageid": 63,
                "logpage": 63,
                "revid": 136,
                "params": {
                    "img_sha1": "9ijm0ew6eqfsoomzdjqlk5uwantrqlg",
                    "img_timestamp": "2026-04-28T16:54:40Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:54:40Z",
                "comment": "used in scr-413"
            },
            {
                "logid": 97,
                "ns": 0,
                "title": "SCR-413",
                "pageid": 62,
                "logpage": 62,
                "revid": 135,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-04-28T16:50:42Z",
                "comment": "\u521b\u5efa\u76f4\u5230\u6709\u4eba\u53d1\u73b0"
            },
            {
                "logid": 96,
                "ns": 2,
                "title": "\u7528\u6237:ShiZheng",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 29
                },
                "type": "newusers",
                "action": "create",
                "user": "ShiZheng",
                "timestamp": "2026-04-09T23:36:59Z",
                "comment": ""
            },
            {
                "logid": 95,
                "ns": 2,
                "title": "\u7528\u6237:\u660e\u5b81\u4e50\u65af",
                "pageid": 61,
                "logpage": 61,
                "revid": 134,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u660e\u5b81\u4e50\u65af",
                "timestamp": "2026-02-24T05:12:01Z",
                "comment": "profile"
            }
        ]
    }
}