MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251014062559|134",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 144,
                "ns": 2,
                "title": "\u7528\u6237:102920103",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 11
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "102920103",
                "timestamp": "2025-10-16T02:35:14Z",
                "comment": ""
            },
            {
                "logid": 143,
                "ns": 6,
                "title": "\u6587\u4ef6:1920x1080.jpg",
                "pageid": 119,
                "logpage": 119,
                "params": {
                    "img_sha1": "51hwwzro4jvfo65uarcncuizm3pkyv3",
                    "img_timestamp": "2025-10-16T02:13:59Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "386376753",
                "timestamp": "2025-10-16T02:13:59Z",
                "comment": ""
            },
            {
                "logid": 142,
                "ns": 6,
                "title": "\u6587\u4ef6:1920x1080.jpg",
                "pageid": 119,
                "logpage": 119,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "386376753",
                "timestamp": "2025-10-15T14:33:14Z",
                "comment": "\u9996\u9875\u80cc\u666f\u56fe"
            },
            {
                "logid": 141,
                "ns": 6,
                "title": "\u6587\u4ef6:1920x1080.jpg",
                "pageid": 119,
                "logpage": 119,
                "params": {
                    "img_sha1": "nl6ct6mr1697us7h0p616f6rqndagb3",
                    "img_timestamp": "2025-10-15T14:33:14Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "386376753",
                "timestamp": "2025-10-15T14:33:14Z",
                "comment": "\u9996\u9875\u80cc\u666f\u56fe"
            },
            {
                "logid": 140,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7533\u8bf7\u521b\u5efaWIKI.png",
                "pageid": 0,
                "logpage": 118,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "386376753",
                "timestamp": "2025-10-14T08:08:54Z",
                "comment": ""
            },
            {
                "logid": 139,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7533\u8bf7\u521b\u5efaWIKI.png",
                "pageid": 0,
                "logpage": 118,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "386376753",
                "timestamp": "2025-10-14T08:07:41Z",
                "comment": ""
            },
            {
                "logid": 138,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7533\u8bf7\u521b\u5efaWIKI.png",
                "pageid": 0,
                "logpage": 118,
                "params": {
                    "img_sha1": "lvua8fh0p6i5giwel7ci5yxg0wcgi6u",
                    "img_timestamp": "2025-10-14T08:07:41Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "386376753",
                "timestamp": "2025-10-14T08:07:41Z",
                "comment": ""
            },
            {
                "logid": 137,
                "ns": 2,
                "title": "\u7528\u6237:386376753",
                "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": "2025-11-14T06:32:57Z"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "2025-11-14T06:32:57Z"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "394339",
                "timestamp": "2025-10-14T06:32:57Z",
                "comment": ""
            },
            {
                "logid": 136,
                "ns": 2,
                "title": "\u7528\u6237:386376753",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 10
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "386376753",
                "timestamp": "2025-10-14T06:32:13Z",
                "comment": ""
            },
            {
                "logid": 135,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9884\u7f6e\u5c0f\u56fe\u6807.png",
                "pageid": 117,
                "logpage": 117,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "394339",
                "timestamp": "2025-10-14T06:25:59Z",
                "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
            }
        ]
    }
}