MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250322104821|111",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 121,
                "ns": 6,
                "title": "\u6587\u4ef6:8 C\u94a2\u94c1\u5377.png",
                "pageid": 52,
                "logpage": 52,
                "revid": 234,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Boss",
                "timestamp": "2025-04-28T13:45:55Z",
                "comment": ""
            },
            {
                "logid": 120,
                "ns": 6,
                "title": "\u6587\u4ef6:8 C\u94a2\u94c1\u5377.png",
                "pageid": 52,
                "logpage": 52,
                "revid": 234,
                "params": {
                    "img_sha1": "qunuhy10vudnh7c2o0tp7e1howumq84",
                    "img_timestamp": "2025-04-28T13:45:55Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Boss",
                "timestamp": "2025-04-28T13:45:55Z",
                "comment": ""
            },
            {
                "logid": 119,
                "ns": 0,
                "title": "8 C\u540d\u8457\u5bfc\u5b66",
                "pageid": 51,
                "logpage": 51,
                "revid": 230,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Boss",
                "timestamp": "2025-04-28T13:33:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c123\u201d"
            },
            {
                "logid": 118,
                "ns": 6,
                "title": "\u6587\u4ef6:8 C\u5bfc\u5b66.png",
                "pageid": 50,
                "logpage": 50,
                "revid": 229,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Boss",
                "timestamp": "2025-04-28T13:32:32Z",
                "comment": ""
            },
            {
                "logid": 117,
                "ns": 6,
                "title": "\u6587\u4ef6:8 C\u5bfc\u5b66.png",
                "pageid": 50,
                "logpage": 50,
                "revid": 229,
                "params": {
                    "img_sha1": "gsth8fahltpmdqwhwk6rpwku7o3rpgf",
                    "img_timestamp": "2025-04-28T13:32:32Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Boss",
                "timestamp": "2025-04-28T13:32:32Z",
                "comment": ""
            },
            {
                "logid": 116,
                "ns": 0,
                "title": "\u751f\u7269",
                "pageid": 49,
                "logpage": 49,
                "revid": 225,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Boss",
                "timestamp": "2025-04-26T15:20:15Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u7b2c\u4e8c\u9898\uff08\u5c0f\u80a0\u76d8\u66f2\u4e8e\u8179\u8154\u5185\uff09  1. (1)\u2461\uff1b\u7ed2\u6bdb\uff1b\u8fd9\u4e9b\u7ed3\u6784\u7279\u70b9\u6709\u5229\u4e8e\u6d88\u5316\u548c\u5438\u6536\uff0c\u8fd9\u5145\u5206\u4f53\u73b0\u51fa\u751f\u7269\u4f53\u7ed3\u6784\u548c\u529f\u80fd\u76f8\u9002\u5e94\u7684\u751f\u7269\u5b66\u89c2\u70b9\u3002  (2)\u80c6\u6c41  (3)\u2161\uff1bD   \u7b2c\u4e8c\u9898\uff08\u4f53\u5916\u819c\u80ba\u6c27\u5408\uff09  1. (1)\u80ba\uff1b\u5fc3\u810f   \u7b2c\u4e09\u9898\uff08\u547c\u5438\u9053\uff09  1. (1)\u2461\u652f\u6c14\u7ba1  (2)\u6c14\u4f53\u4ea4\u6362\uff1b\u80fd\u91cf  (3)\u4e0a\u8179\u90e8\uff1bA  (4)\u4e0d\u5728\u5403\u996d\u65f6\u5927\u58f0\u8bf4\u7b11   \u7b2c\u56db\u9898\uff08\u8840\u7cd6\u6d53\u5ea6\u53d8\u5316\u66f2\u7ebf\uff09  1. (1)\u2462\u5c0f\u80a0\uff1b\u6bdb\u7ec6\u8840\u7ba1  (2)\u2463\u2026\u201d"
            },
            {
                "logid": 115,
                "ns": 2,
                "title": "\u7528\u6237:Ke",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 18
                },
                "type": "newusers",
                "action": "create",
                "user": "Ke",
                "timestamp": "2025-04-26T03:44:59Z",
                "comment": ""
            },
            {
                "logid": 114,
                "ns": 0,
                "title": "Test2",
                "pageid": 48,
                "logpage": 48,
                "revid": 216,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Boss",
                "timestamp": "2025-03-28T15:20:49Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5f53\u54e8\u97f3\u6495\u88c2\u4e91\u5c42\uff0c\u5bc2\u9759\u7684\u64cd\u573a\u77ac\u95f4\u88ab\u56db\u5343\u53ea\u811a\u638c\u8e29\u788e\u3002\u5341\u516b\u8def\u7eb5\u961f\u8f70\u7136\u5206\u88c2\uff0c\u524d\u961f\u4f3c\u6d6a\u6f6e\u6d8c\u5411\u6668\u5149\uff0c\u540e\u961f\u5982\u6697\u6d41\u9000\u5411\u82cd\u7a79\u3002\u5239\u90a3\u95f4\uff0c\u7bee\u7403\u5316\u4f5c\u71c3\u70e7\u7684\u661f\u7fa4\uff0c\u5728\u9752\u6625\u7684\u78c1\u573a\u4e2d\u72c2\u821e\u2014\u2014\u770b\uff01\u7ea2\u84dd\u6821\u670d\u7ec7\u5c31\u7684\u7ecf\u7eac\u7ebf\u4e0a\uff0c\u6a59\u8272\u8f68\u8ff9\u6b63\u5207\u5272\u7740\u6668\u96fe\uff0c\u638c\u5fc3\u4e0e\u76ae\u9769\u7684\u6469\u64e6\u6e85\u8d77\u706b\u661f\uff0c\u7403\u978b\u78be\u8fc7\u767d\u7ebf\u65f6\u626c\u8d77\u7684\u7c89\u7b14\u7070\uff0c\u7adf\u6bd4\u96ea\u8fd8\u8981\u51db\u51bd\u3002  \"\u4f20\uff01\"\u9886\u961f\u7684\u543c\u58f0\u649e\u788e\u4e91\u7d6e\uff0c\u7bee\u7403\u2026\u201d"
            },
            {
                "logid": 113,
                "ns": 2,
                "title": "\u7528\u6237:TestUser",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 17
                },
                "type": "newusers",
                "action": "create",
                "user": "TestUser",
                "timestamp": "2025-03-24T05:24:39Z",
                "comment": ""
            },
            {
                "logid": 112,
                "ns": 2,
                "title": "\u7528\u6237:Some",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 16
                },
                "type": "newusers",
                "action": "create",
                "user": "Some",
                "timestamp": "2025-03-22T10:51:41Z",
                "comment": ""
            }
        ]
    }
}