MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "logevents": [
            {
                "logid": 4,
                "ns": 2,
                "title": "\u7528\u6237:Wlqwsxrppt",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "Wlqwsxrppt",
                "timestamp": "2026-05-23T19:57:51Z",
                "comment": ""
            },
            {
                "logid": 3,
                "ns": 2,
                "title": "\u7528\u6237:Xiaolonglong",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "create",
                "user": "Xiaolonglong",
                "timestamp": "2026-04-27T16:19:38Z",
                "comment": ""
            },
            {
                "logid": 2,
                "ns": 0,
                "title": "1",
                "pageid": 2,
                "logpage": 2,
                "revid": 2,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "TomNook",
                "timestamp": "2026-04-27T15:57:54Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<!DOCTYPE html> <html lang=\"zh-CN\"> <head>     <meta charset=\"UTF-8\">     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">     <title>\u670d\u52a1\u5668\u8be6\u60c5</title>     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css\">     <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap\">     <script src=\"https://html2canvas.hertzen.com/dist/htm\u2026\u201d"
            },
            {
                "logid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "logpage": 1,
                "revid": 1,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MediaWiki default",
                "timestamp": "2026-04-26T20:13:11Z",
                "comment": ""
            }
        ]
    }
}