MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260903011601|18",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 28,
                "ns": 10,
                "title": "\u6a21\u677f:\u6587\u5b57\u989c\u8272",
                "pageid": 22,
                "logpage": 22,
                "revid": 51,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:28:59Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"color:{{{1}}};\">{{{2}}}</span>\u201d"
            },
            {
                "logid": 27,
                "ns": 10,
                "title": "\u6a21\u677f:\u4f60\u77e5\u9053\u5417",
                "pageid": 21,
                "logpage": 21,
                "revid": 49,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:26:47Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u662f\u8c01\u5929\u5929\u558a\u7740\u6ca1\u6709\u4eba\u80fd\u5bb3[[\u5218\u5b50\u83e1|\u6b7b\u5979]]\uff1f \u662f\u8c01[[\u5218\u5b50\u83e1|\u88ab\u5bb3]]\u540e\u8981\u53bb\u62a5\u8b66?\u201d"
            },
            {
                "logid": 26,
                "ns": 14,
                "title": "\u5206\u7c7b:\u5927\u8111\u964d\u7ea7\u7684\u6761\u76ee",
                "pageid": 20,
                "logpage": 20,
                "revid": 48,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:23:51Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 25,
                "ns": 14,
                "title": "\u5206\u7c7b:\u5723\u6d1b\u795e\u5230\u6b64\u4e00\u6e38",
                "pageid": 19,
                "logpage": 19,
                "revid": 47,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:23:36Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 24,
                "ns": 14,
                "title": "\u5206\u7c7b:\u5c71\u4e1c\u55b7\u86c6",
                "pageid": 18,
                "logpage": 18,
                "revid": 46,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:23:25Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 23,
                "ns": 10,
                "title": "\u6a21\u677f:\u5206\u7c7b",
                "pageid": 17,
                "logpage": 17,
                "revid": 45,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T02:16:22Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<categorytree mode=pages>\u5c71\u4e1c\u55b7\u86c6</categorytree>\u201d"
            },
            {
                "logid": 22,
                "ns": 10,
                "title": "\u6a21\u677f:\u5723\u6d1b\u795e\u5230\u6b64\u4e00\u6e38",
                "pageid": 16,
                "logpage": 16,
                "revid": 41,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T01:17:23Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u4fe1\u606f\u6846 |border=Purple |image=\u5723\u6d1b\u795e\u6559.png |type=\u5723\u6d1b\u795e\u5230\u6b64\u4e00\u6e38 |info=\u6b64\u9875\u9762\u5df2\u7ecf\u8fc7\u5723\u6d1b\u795e\u7684\u52d8\u5bdf }}  [[\u5206\u7c7b:\u5723\u6d1b\u795e\u5230\u6b64\u4e00\u6e38]]\u201d"
            },
            {
                "logid": 21,
                "ns": 10,
                "title": "\u6a21\u677f:\u4fe1\u606f\u6846",
                "pageid": 15,
                "logpage": 15,
                "revid": 40,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T01:17:05Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<table style=\"font-size: 95%; width: 75%; margin: 0 auto -2px auto; box-shadow:0 1px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 2px 1px -2px rgba(0,0,0,.2); border: 1px #AAA solid; border-left: 10px solid #228b22; border-collapse: collapse; background-color: snow; color: #000; border-left: 10px solid {{{border|rgb(30,144,255)}}};\" class=\"plainlinks\"> <tr> <td style=\"width: 55px; padding: 2px; text-align: center;border-right:1px solid #AAA;\">\u6587\u4ef6:{{\u2026\u201d"
            },
            {
                "logid": 20,
                "ns": 10,
                "title": "\u6a21\u677f:\u5927\u8111\u964d\u7ea7\u8b66\u544a",
                "pageid": 14,
                "logpage": 14,
                "revid": 39,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T01:16:55Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u4fe1\u606f\u6846 |border=yellow |image=\u5927\u8111\u964d\u7ea7.png |type=\u5927\u8111\u964d\u7ea7\u8b66\u544a |info=\u6b64\u9875\u9762\u8fc7\u4e8e\u5947\u5999\u6df1\u523b\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5927\u8111\u964d\u7ea7\uff0c\u8bf7\u8c28\u614e\u9009\u62e9\u89c2\u770b\u3002 }}  [[\u5206\u7c7b:\u5927\u8111\u964d\u7ea7\u7684\u6761\u76ee]]\u201d"
            },
            {
                "logid": 19,
                "ns": 10,
                "title": "\u6a21\u677f:\u6b7b\u4ea1\u8bcd\u6761",
                "pageid": 13,
                "logpage": 13,
                "revid": 38,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5723\u6d1b\u7ba1\u7406\u5458",
                "timestamp": "2026-09-03T01:16:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<table style=\"background:black;width: 75%;margin: 0 auto; box-shadow:0 1px 2px 0 rgba(0,0,0,.24),0 1px 5px 0 rgba(0,0,0,.22),0 2px 1px -2px rgba(0,0,0,.12);\"> <tr> <td style=\"min-width:80px;\"> [[\u6587\u4ef6:\u6b7b\u4ea1\u82b1\u675f.jpg|80px]] </td> <td style=\"text-align:left; color:white;\"> <p>\u4eba\u751f\u81ea\u53e4\u8c01\u65e0\u6b7b\uff1f\u4e0d\u5e78\u5730\uff0c<span style=\"border:solid thin;\">'''{{{1|{{PAGENAME}}}}}'''</span>\u5df2\u7ecf\u901d\u4e16\uff0c\u56e0\u6b64\u65e0\u6cd5\u7ee7\u7eed\u4e0e\u60a8\u4e92\u52a8\uff0c\u8ba9\u6211\u4eec\u6c38\u8fdc\u7f05\u6000\u5b83\u3002 </p> </td\u2026\u201d"
            }
        ]
    }
}