MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250721083246|117",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 127,
                "ns": 2,
                "title": "\u7528\u6237:3546750998546884",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 14
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546750998546884",
                "timestamp": "2025-12-12T16:33:19Z",
                "comment": ""
            },
            {
                "logid": 126,
                "ns": 2,
                "title": "\u7528\u6237:29136181",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 13
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "29136181",
                "timestamp": "2025-12-12T06:46:26Z",
                "comment": ""
            },
            {
                "logid": 125,
                "ns": 2,
                "title": "\u7528\u6237:423764135",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 12
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "423764135",
                "timestamp": "2025-12-11T10:58:59Z",
                "comment": ""
            },
            {
                "logid": 124,
                "ns": 2,
                "title": "\u7528\u6237:14016866",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 11
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "14016866",
                "timestamp": "2025-12-11T09:32:16Z",
                "comment": ""
            },
            {
                "logid": 123,
                "ns": 2,
                "title": "\u7528\u6237:39886146",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 10
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "39886146",
                "timestamp": "2025-12-11T09:09:57Z",
                "comment": ""
            },
            {
                "logid": 122,
                "ns": 2,
                "title": "\u7528\u6237:1842282425",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bilibili"
                    ],
                    "newgroups": [
                        "bilibili",
                        "sysop",
                        "interface-admin"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bilibili",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bilibili",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "2026-01-11T09:05:24Z"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "2026-01-11T09:05:24Z"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "394339",
                "timestamp": "2025-12-11T09:05:24Z",
                "comment": ""
            },
            {
                "logid": 121,
                "ns": 2,
                "title": "\u7528\u6237:1842282425",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 9
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "1842282425",
                "timestamp": "2025-12-11T09:04:19Z",
                "comment": ""
            },
            {
                "logid": 120,
                "ns": 0,
                "title": "\u516c\u544a",
                "pageid": 111,
                "logpage": 111,
                "params": {
                    "count": 1
                },
                "type": "import",
                "action": "upload",
                "user": "394339",
                "timestamp": "2025-07-21T08:32:46Z",
                "comment": ""
            },
            {
                "logid": 119,
                "ns": 0,
                "title": "\u521b\u5efa\u65b0\u9875\u9762",
                "pageid": 110,
                "logpage": 110,
                "params": {
                    "count": 1
                },
                "type": "import",
                "action": "upload",
                "user": "394339",
                "timestamp": "2025-07-21T08:32:46Z",
                "comment": ""
            },
            {
                "logid": 118,
                "ns": 0,
                "title": "\u653b\u7565",
                "pageid": 109,
                "logpage": 109,
                "params": {
                    "count": 1
                },
                "type": "import",
                "action": "upload",
                "user": "394339",
                "timestamp": "2025-07-21T08:32:46Z",
                "comment": ""
            }
        ]
    }
}