MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20200415182221|110",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 120,
                "ns": 0,
                "title": "\u674e\u5fe0\u606a",
                "pageid": 0,
                "logpage": 69,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Bzklp",
                "timestamp": "2023-01-01T13:46:13Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c\u674e\u5fe0\u606a\uff0c\u5176\u59d3\u540d\u4e3a\u201c\u7406\u4e2d\u5ba2\u201d\u7684\u8c10\u97f3\uff0c\u867d\u53eb\u7406\u4e2d\u5ba2\uff0c\u53ef\u6b64\u4eba\u66b4\u8e81\u6613\u6012\u96be\u4ee5\u6349\u6478\u3001\u8eab\u4efd\u4e0d\u660e\u6210\u5206\u590d\u6742\uff0c\u5728\u4e0d\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Bzklp|Bzklp]]\u201d\uff08[[User talk:Bzklp|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 119,
                "ns": 0,
                "title": "\u674e\u5fe0\u606a",
                "pageid": 0,
                "logpage": 69,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Bzklp",
                "timestamp": "2022-12-25T15:11:45Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u674e\u5fe0\u606a\uff0c\u5176\u59d3\u540d\u4e3a\u201c\u7406\u4e2d\u5ba2\u201d\u7684\u8c10\u97f3\uff0c\u867d\u53eb\u7406\u4e2d\u5ba2\uff0c\u53ef\u6b64\u4eba\u66b4\u8e81\u6613\u6012\u96be\u4ee5\u6349\u6478\u3001\u8eab\u4efd\u4e0d\u660e\u6210\u5206\u590d\u6742\uff0c\u5728\u4e0d\u5fc5\u8981\u7684\u60c5\u51b5\u4e0b\u8bf7\u5c3d\u53ef\u2026\u201d"
            },
            {
                "logid": 118,
                "ns": 2,
                "title": "\u7528\u6237:Bzklp",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Fengshuai",
                "timestamp": "2022-04-24T14:57:28Z",
                "comment": ""
            },
            {
                "logid": 117,
                "ns": 2,
                "title": "\u7528\u6237:Bzklp",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 12
                },
                "type": "newusers",
                "action": "create2",
                "user": "Fengshuai",
                "timestamp": "2022-04-24T14:57:15Z",
                "comment": ""
            },
            {
                "logid": 116,
                "ns": 2,
                "title": "\u7528\u6237:XxX Sakura XxX",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Fengshuai",
                "timestamp": "2022-04-24T14:55:19Z",
                "comment": ""
            },
            {
                "logid": 115,
                "ns": 2,
                "title": "\u7528\u6237:XxX Sakura XxX",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 11
                },
                "type": "newusers",
                "action": "create2",
                "user": "Fengshuai",
                "timestamp": "2022-04-24T14:54:02Z",
                "comment": ""
            },
            {
                "logid": 114,
                "ns": 2,
                "title": "\u7528\u6237:LittleC/common.js",
                "pageid": 68,
                "logpage": 68,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "LittleC",
                "timestamp": "2020-05-22T14:00:16Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cmw.loader.load('https://common.wjghj.cn/js/InPageEdit-v2');\u201d"
            },
            {
                "logid": 113,
                "ns": 2,
                "title": "\u7528\u6237:LittleC",
                "pageid": 67,
                "logpage": 67,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "LittleC",
                "timestamp": "2020-05-21T15:18:29Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6211\u53ef\u4ee5\u6709\u7528\u6237\u9875\u8bf6\u201d"
            },
            {
                "logid": 112,
                "ns": 0,
                "title": "\u7ba1\u7406\u89c4\u5219",
                "pageid": 66,
                "logpage": 66,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "LittleC",
                "timestamp": "2020-04-19T05:33:46Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c= Yinwurealm \u670d\u52a1\u5668\u7ba1\u7406\u89c4\u5219 =  == \u4e00. \u670d\u52a1\u5668\u5185\u8fdd\u89c4\u884c\u4e3a\u89c4\u5b9a&\u76f8\u5173\u884c\u4e3a\u5904\u7f5a\u89c4\u5b9a ==  # \u5e38\u89c4\u7c7b ## <span id=\"one-one-one\"></span>\u672a\u7ecf\u5141\u8bb8\u2026\u201d"
            },
            {
                "logid": 111,
                "ns": 0,
                "title": "Minecraft\u670d\u52a1\u5668/\u6d77\u5c9b\u670d",
                "pageid": 0,
                "logpage": 32,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u670d\u52a1\u5668/\u6d77\u5c9b\u670d",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "Fengshuai",
                "timestamp": "2020-04-15T18:22:24Z",
                "comment": "\u6062\u590d"
            }
        ]
    }
}