MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "continue": { "lecontinue": "20210822074910|81", "continue": "-||" }, "query": { "logevents": [ { "logid": 91, "ns": 2, "title": "\u7528\u6237:Huaji Lemon", "pageid": 30, "logpage": 30, "params": {}, "type": "block", "action": "unblock", "user": "Jhxiaochen", "timestamp": "2023-01-20T19:06:49Z", "comment": "\u56e0\u5e94\u6700\u8fd1\u5f62\u52bf\uff0c\u89e3\u9664\u5c01\u7981" }, { "logid": 90, "ns": 2, "title": "\u7528\u6237:Huaji Lemon", "pageid": 30, "logpage": 30, "params": { "duration": "infinity", "flags": [ "nocreate" ], "sitewide": "" }, "type": "block", "action": "block", "user": "Jhxiaochen", "timestamp": "2021-09-04T13:02:48Z", "comment": "" }, { "logid": 89, "ns": 0, "title": "\u54f2\u72d7", "pageid": 36, "logpage": 36, "params": { "description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)", "cascade": "", "details": [ { "type": "edit", "level": "sysop", "expiry": "infinite", "cascade": "" }, { "type": "move", "level": "sysop", "expiry": "infinite" } ] }, "type": "protect", "action": "protect", "user": "Jhxiaochen", "timestamp": "2021-09-03T11:47:25Z", "comment": "" }, { "logid": 88, "ns": 0, "title": "\u54f2\u72d7", "pageid": 36, "logpage": 36, "params": {}, "type": "create", "action": "create", "user": "Jhxiaochen", "timestamp": "2021-09-03T11:47:18Z", "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c\u54f2\u683c\uff0c\u5916\u53f7\u54f2\u72d7\uff0c\u662f\u672c\u670d\u7684\u654c\u5bf9\u5206\u5b50\u3002\u201d\u7684\u65b0\u9875\u9762" }, { "logid": 87, "ns": 6, "title": "\u6587\u4ef6:\u5c0f\u541b20210830.jpg", "pageid": 35, "logpage": 35, "params": {}, "type": "create", "action": "create", "user": "PanaxEleven", "timestamp": "2021-08-30T09:05:17Z", "comment": "" }, { "logid": 86, "ns": 6, "title": "\u6587\u4ef6:\u5c0f\u541b20210830.jpg", "pageid": 35, "logpage": 35, "params": { "img_sha1": "dr27njkn30sxg2i9oxikwltjd2r3xk2", "img_timestamp": "2021-08-30T09:05:17Z" }, "type": "upload", "action": "upload", "user": "PanaxEleven", "timestamp": "2021-08-30T09:05:17Z", "comment": "" }, { "logid": 85, "ns": 2, "title": "\u7528\u6237:LuRenDing", "pageid": 28, "logpage": 28, "params": { "oldgroups": [ "bureaucrat", "interface-admin", "suppress", "sysop" ], "newgroups": [ "interface-admin", "sysop" ], "oldmetadata": [ { "group": "bureaucrat", "expiry": "infinity" }, { "group": "interface-admin", "expiry": "infinity" }, { "group": "suppress", "expiry": "infinity" }, { "group": "sysop", "expiry": "infinity" } ], "newmetadata": [ { "group": "interface-admin", "expiry": "infinity" }, { "group": "sysop", "expiry": "infinity" } ] }, "type": "rights", "action": "rights", "user": "Jhxiaochen", "timestamp": "2021-08-27T16:52:57Z", "comment": "" }, { "logid": 84, "ns": 2, "title": "\u7528\u6237:LuRenDing", "pageid": 28, "logpage": 28, "params": {}, "type": "block", "action": "unblock", "user": "Jhxiaochen", "timestamp": "2021-08-24T08:15:41Z", "comment": "" }, { "logid": 83, "ns": 2, "title": "\u7528\u6237:AB NO GPU", "pageid": 0, "logpage": 0, "params": { "duration": "infinity", "flags": [ "nocreate", "noautoblock", "noemail", "nousertalk" ], "sitewide": "" }, "type": "block", "action": "block", "user": "Jhxiaochen", "timestamp": "2021-08-24T08:15:30Z", "comment": "\u672a\u77e5\u7528\u6237\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458" }, { "logid": 82, "ns": 2, "title": "\u7528\u6237:AB NO GPU", "pageid": 0, "logpage": 0, "params": { "userid": 8 }, "type": "newusers", "action": "create", "user": "AB NO GPU", "timestamp": "2021-08-23T02:58:16Z", "comment": "" } ] } }