MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20241014082936|3",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 13,
                "ns": 0,
                "title": "\u7262\u7490",
                "pageid": 8,
                "logpage": 8,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-22T04:47:43Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u7262\u7490\uff0c<s>\u9ed1\u5974\u4e00\u4e2a</s>  TJMC\u73b0\u4efb\u8d22\u52a1\uff0c\u7406\u4e8b\u4f1a\u7406\u4e8b\uff0c\u670d\u4e3b\uff0c\u76ae\u80a4\u7ad9\u7ad9\u957f\uff0c\u5b98\u7f51\u7ad9\u957f\uff0cwiki\u7ad9\u957f\uff08\u4e0d\u5982\u8bf4\u5168\u662f\u6211\u5728\u7ba1\u7b97\u4e86\uff09\u201d"
            },
            {
                "logid": 12,
                "ns": 0,
                "title": "TJMC\u7b80\u53f2",
                "pageid": 7,
                "logpage": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-18T14:08:38Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u8fd9\u91cc\u662fTJMC-TJACA\uff08\u540c\u6d4e\u5927\u5b66Minecraft\u7d2b\u6676\u5b66\u751f\u793e\u56e2\u7b80\u53f2\uff09  \u4ee5\u4e0b\u7b80\u79f0TJMC  TJMC\u8d77\u6e90\u4e8e2021\u5e749\u670828\u65e5\uff0c\u4e00\u4e9b21\u5c4a\u521a\u5165\u5b66\u7684\u65b0\u751f\u4eec\u76f8\u8bc6\u76f8\u9047\uff0c\u805a\u5728\u4e00\u8d77\u73a9MC\uff0c\u5efa\u7acb\u4e86\u540d\u4e3aMinecraft\u00b7TJ\u7684\u7fa4\u804a\uff08\u5982\u4eca\u7684\u5927\u7fa4\uff09\uff0c\u521b\u59cb\u4eba\u662f\u201d"
            },
            {
                "logid": 11,
                "ns": 0,
                "title": "\u5434\u592a\u75af",
                "pageid": 6,
                "logpage": 6,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-18T14:03:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<s>\u5434\u592a\u75af\u5728\u5356\u5c41\u80a1</s>  \u5434\u592a\u75af\uff0c\u5e38\u7528\u53f0\u98ce\uff0c\u821e\u53f0\u98ce\uff0ctf\uff0cwtf\uff0cWuTyphoon\u7b49\u540d\u79f0\u4ee3\u66ff\uff0c\u4ee5\u4e0b\u7528wtf\u7b80\u79f0  \uff08\u7b80\u53f2\uff0c\u586b\u8865\u4e2d\uff09\u201d"
            },
            {
                "logid": 10,
                "ns": 2,
                "title": "\u7528\u6237:SnipicPP",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "create",
                "user": "SnipicPP",
                "timestamp": "2024-10-14T11:00:33Z",
                "comment": ""
            },
            {
                "logid": 9,
                "ns": 0,
                "title": "\u8001\u767b\u56fe\u9274",
                "pageid": 5,
                "logpage": 5,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-14T10:23:47Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"wikitable\" |+\u8001\u767b\u56fe\u9274 !\u8001\u767bid !\u8d21\u732e !\u5176\u4ed6\u5e38\u7528\u79f0\u547c |- | | | |- | | | |- | | | |}\u201d"
            },
            {
                "logid": 8,
                "ns": 2,
                "title": "\u7528\u6237:\u67e5\u7406\u795e",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop",
                        "bureaucrat",
                        "suppress"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Tjmc",
                "timestamp": "2024-10-14T10:18:46Z",
                "comment": ""
            },
            {
                "logid": 7,
                "ns": 2,
                "title": "\u7528\u6237:\u67e5\u7406\u795e",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "create",
                "user": "\u67e5\u7406\u795e",
                "timestamp": "2024-10-14T10:18:01Z",
                "comment": ""
            },
            {
                "logid": 6,
                "ns": 0,
                "title": "\u67e5\u7406\u795e",
                "pageid": 4,
                "logpage": 4,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-14T10:10:57Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 5,
                "ns": 2,
                "title": "\u7528\u6237:114514test",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "114514test",
                "timestamp": "2024-10-14T09:47:48Z",
                "comment": ""
            },
            {
                "logid": 4,
                "ns": 0,
                "title": "\u821e\u53f0\u98ce",
                "pageid": 3,
                "logpage": 3,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tjmc",
                "timestamp": "2024-10-14T09:12:05Z",
                "comment": "wtf"
            }
        ]
    }
}