MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20220127045634|89",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 101,
"ns": 6,
"title": "\u6587\u4ef6:\u95f4 \u8c0d.jpg",
"pageid": 27,
"logpage": 27,
"params": {},
"type": "delete",
"action": "delete",
"user": "Jhxiaochen",
"timestamp": "2022-01-28T03:59:40Z",
"comment": "\u5df2\u5220\u9664\u65e7\u7248\u672c20220128035934!\u95f4_\u8c0d.jpg"
},
{
"logid": 100,
"ns": 6,
"title": "\u6587\u4ef6:\u95f4 \u8c0d.jpg",
"pageid": 27,
"logpage": 27,
"params": {
"img_sha1": "nj1t8v2t5ikcfdq1jqm9v8paxx4swz2",
"img_timestamp": "2022-01-28T03:59:34Z"
},
"type": "upload",
"action": "overwrite",
"user": "Jhxiaochen",
"timestamp": "2022-01-28T03:59:34Z",
"comment": ""
},
{
"logid": 99,
"ns": 6,
"title": "\u6587\u4ef6:\u95f4 \u8c0d.jpg",
"pageid": 27,
"logpage": 27,
"params": {},
"type": "create",
"action": "create",
"user": "Jhxiaochen",
"timestamp": "2022-01-28T03:52:16Z",
"comment": ""
},
{
"logid": 98,
"ns": 6,
"title": "\u6587\u4ef6:\u95f4 \u8c0d.jpg",
"pageid": 27,
"logpage": 27,
"params": {
"img_sha1": "1b6if0fauaerk5ub7rlfg9kbe9ualrb",
"img_timestamp": "2022-01-28T03:52:16Z"
},
"type": "upload",
"action": "upload",
"user": "Jhxiaochen",
"timestamp": "2022-01-28T03:52:16Z",
"comment": ""
},
{
"logid": 97,
"ns": 2,
"title": "\u7528\u6237:PanaxEleven",
"pageid": 0,
"logpage": 0,
"params": {
"oldgroups": [
"bureaucrat",
"interface-admin",
"suppress",
"sysop"
],
"newgroups": [],
"oldmetadata": [
{
"group": "bureaucrat",
"expiry": "infinity"
},
{
"group": "interface-admin",
"expiry": "infinity"
},
{
"group": "suppress",
"expiry": "infinity"
},
{
"group": "sysop",
"expiry": "infinity"
}
],
"newmetadata": []
},
"type": "rights",
"action": "rights",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T14:00:00Z",
"comment": ""
},
{
"logid": 96,
"ns": 0,
"title": "\u9ed1\u540d\u5355",
"pageid": 26,
"logpage": 26,
"params": {
"description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)",
"details": [
{
"type": "edit",
"level": "sysop",
"expiry": "infinite"
},
{
"type": "move",
"level": "sysop",
"expiry": "infinite"
}
]
},
"type": "protect",
"action": "protect",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T12:49:50Z",
"comment": ""
},
{
"logid": 95,
"ns": 0,
"title": "\u9ed1\u540d\u5355",
"pageid": 26,
"logpage": 26,
"params": {},
"type": "create",
"action": "create",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T12:49:36Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u672c\u9ed1\u540d\u5355\u4ee3\u8868\u4e1c\u5b89\u5de5\u827a\u7ba1\u7406\u7ec4\u3002 \u7531\u4e8e\u67d0\u4e9bxpy\u4e00\u76f4\u5728\u641e\u4e8b\uff0c\u7279\u6b64\uff0c\u7ba1\u7406\u7ec4\u5c06\u7f16\u5199\u672c\u9ed1\u540d\u5355\u3002\uff08\u6e56\u6c34\u5de5\u827a\u5176\u5b83\u641e\u4e8b\u7684\u6210\u5458\u5c06\u7ecf\u8fc7\u2026\u201d"
},
{
"logid": 94,
"ns": 6,
"title": "\u6587\u4ef6:4932FF0B.png",
"pageid": 25,
"logpage": 25,
"params": {},
"type": "create",
"action": "create",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T12:13:42Z",
"comment": ""
},
{
"logid": 93,
"ns": 6,
"title": "\u6587\u4ef6:4932FF0B.png",
"pageid": 25,
"logpage": 25,
"params": {
"img_sha1": "8kgm9dmvgvnzaspmvvgx4k3lrzidxu6",
"img_timestamp": "2022-01-27T12:13:42Z"
},
"type": "upload",
"action": "upload",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T12:13:42Z",
"comment": ""
},
{
"logid": 90,
"ns": 2,
"title": "\u7528\u6237:PanaxEleven",
"pageid": 0,
"logpage": 4,
"params": {},
"type": "delete",
"action": "delete",
"user": "Jhxiaochen",
"timestamp": "2022-01-27T04:57:47Z",
"comment": "\u7834\u574f\u884c\u4e3a"
}
]
}
}