MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20241028040903|1767",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1778,
                "ns": 2,
                "title": "\u7528\u6237:15589922281",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 130
                },
                "type": "newusers",
                "action": "create",
                "user": "15589922281",
                "timestamp": "2025-12-01T09:01:38Z",
                "comment": ""
            },
            {
                "logid": 1777,
                "ns": 2,
                "title": "\u7528\u6237:\u6770",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 129
                },
                "type": "newusers",
                "action": "create",
                "user": "\u6770",
                "timestamp": "2025-10-30T00:57:35Z",
                "comment": ""
            },
            {
                "logid": 1776,
                "ns": 2,
                "title": "\u7528\u6237:\u8b1d\u8ce2\u91d7",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 128
                },
                "type": "newusers",
                "action": "create",
                "user": "\u8b1d\u8ce2\u91d7",
                "timestamp": "2025-09-18T13:23:31Z",
                "comment": ""
            },
            {
                "logid": 1775,
                "ns": 2,
                "title": "\u7528\u6237:Cloud",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 126
                },
                "type": "newusers",
                "action": "create",
                "user": "Cloud",
                "timestamp": "2025-06-12T05:56:11Z",
                "comment": ""
            },
            {
                "logid": 1774,
                "ns": 2,
                "title": "\u7528\u6237:Horrypotter",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 125
                },
                "type": "newusers",
                "action": "create",
                "user": "Horrypotter",
                "timestamp": "2025-04-28T04:11:53Z",
                "comment": ""
            },
            {
                "logid": 1773,
                "ns": 2,
                "title": "\u7528\u6237:CelesteK",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "certifiedarchivist",
                        "developer"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "certifiedarchivist",
                            "expiry": "infinity"
                        },
                        {
                            "group": "developer",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "Lunch",
                "timestamp": "2025-01-22T07:00:30Z",
                "comment": "\u79bb\u804c"
            },
            {
                "logid": 1772,
                "ns": 2,
                "title": "\u7528\u6237:Jiaaiqing1991",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 124
                },
                "type": "newusers",
                "action": "create",
                "user": "Jiaaiqing1991",
                "timestamp": "2024-11-29T04:39:06Z",
                "comment": ""
            },
            {
                "logid": 1771,
                "ns": 2,
                "title": "\u7528\u6237:Reed",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 123
                },
                "type": "newusers",
                "action": "create",
                "user": "Reed",
                "timestamp": "2024-11-29T04:38:45Z",
                "comment": ""
            },
            {
                "logid": 1769,
                "ns": 2,
                "title": "\u7528\u6237:CelesteK",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "certifiedarchivist",
                        "developer"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "certifiedarchivist",
                            "expiry": "infinity"
                        },
                        {
                            "group": "developer",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lunch",
                "timestamp": "2024-11-27T02:59:47Z",
                "comment": ""
            },
            {
                "logid": 1768,
                "ns": 2,
                "title": "\u7528\u6237:Lunch",
                "pageid": 170,
                "logpage": 170,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "certifiedarchivist",
                        "interface-admin",
                        "suppress",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "certifiedarchivist",
                        "interface-admin",
                        "suppress",
                        "sysop",
                        "developer"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "certifiedarchivist",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "certifiedarchivist",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "developer",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Lunch",
                "timestamp": "2024-11-27T02:11:18Z",
                "comment": ""
            }
        ]
    }
}