MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20190408070133|10",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 20,
                "ns": 2,
                "title": "User:John",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "create",
                "user": "John",
                "timestamp": "2025-05-15T04:18:16Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 2,
                "title": "User:Hello",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "create",
                "user": "Hello",
                "timestamp": "2025-04-22T20:06:23Z",
                "comment": ""
            },
            {
                "logid": 18,
                "ns": 2,
                "title": "User:Alice",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "Alice",
                "timestamp": "2025-03-12T23:24:27Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 2,
                "title": "User:Letter3club",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "create",
                "user": "Letter3club",
                "timestamp": "2022-04-06T02:53:39Z",
                "comment": ""
            },
            {
                "logid": 16,
                "ns": 2,
                "title": "User:Sydney",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 2
                },
                "type": "newusers",
                "action": "create",
                "user": "Sydney",
                "timestamp": "2021-06-22T14:18:18Z",
                "comment": ""
            },
            {
                "logid": 15,
                "ns": 0,
                "title": "\u521b\u4f24\uff08\u767d\u6c42\u6069\uff09",
                "pageid": 14,
                "logpage": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Dimpurr",
                "timestamp": "2020-11-01T08:33:02Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c=== \u6b63\u6587 ===  \u5934\u9876\u4e0a\u7164\u6cb9\u706f\u50cf\u767d\u70bd\u7684\u8702\u623f\uff0c\u55e1\u55e1\u4f5c\u54cd\u3002\u571f\u5899\uff0c\u571f\u5730\uff0c\u571f\u7095\uff0c\u767d\u7eb8\u7a97\u6237\u3002\u5c4b\u5185\u5f25\u6f2b\u7740\u8840\u8165\u5473\u548c\u4e09\u6c2f\u7532\u70f7\u5473\u3002\u5929\u6c14\u2026\u201d"
            },
            {
                "logid": 14,
                "ns": 0,
                "title": "\u5c11\u5e74\u4e2d\u56fd\uff08\u4e01\u4e09\uff09",
                "pageid": 13,
                "logpage": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Dimpurr",
                "timestamp": "2019-07-11T05:17:54Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u672c\u6587\u4e3a\u957f\u7bc7\u975e\u865a\u6784\u6587\u5b66\u300a\u5c11\u5e74\u4e2d\u56fd\u300b\u7f29\u5199\u672c\uff0c\u5df2\u520a\u53d1\u4e8e\u300a\u56fd\u5bb6\u5386\u53f2\u300b\u6742\u5fd7\u7b2c12\u671f\u3002\u8bf7\u8f6c\u8f7d\u8005\u52a1\u5fc5\u8bf4\u660e \u3000\u3000 \u3000\u3000\u4f5c\u8005\uff1a\u300a\u56fd\u5bb6\u2026\u201d"
            },
            {
                "logid": 13,
                "ns": 0,
                "title": "\u5c0f\u8bf4\u7406\u8bba\uff08\u8bd1\u5e8f\uff09",
                "pageid": 12,
                "logpage": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Dimpurr",
                "timestamp": "2019-04-16T08:14:34Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[\u5308] \u683c\u5965\u5c14\u683c\u00b7\u5362\u5361\u5947 / \u71d5\u5b8f\u8fdc / \u5546\u52a1\u5370\u4e66\u9986 / 2018  == \u6b63\u6587 ==  19\u4e16\u7eaa\u672b\u548c20\u4e16\u7eaa\u521d\uff0c\u6b27\u6d32\u4e00\u4e9b\u5148\u8fdb\u56fd\u5bb6\u8fdb\u5165\u5e1d\u56fd\u4e3b\u4e49\u65f6\u4ee3\uff0c\u800c\u2026\u201d"
            },
            {
                "logid": 12,
                "ns": 2,
                "title": "User:Dimpurr",
                "pageid": 11,
                "logpage": 11,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Dimpurr",
                "timestamp": "2019-04-11T10:45:31Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c* [[\u544a\u9752\u5e74\uff08\u544a\u5c11\u5e74/\u4e00\u4e2a\u53cd\u6297\u8005\u7684\u8bdd\uff09]] * [[\u5c11\u5973\u4e0d\u5341\u5206\uff08\u8282\u9009\uff09]]\u201d"
            },
            {
                "logid": 11,
                "ns": 0,
                "title": "\u5c11\u5973\u4e0d\u5341\u5206\uff08\u8282\u9009\uff09",
                "pageid": 10,
                "logpage": 10,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Dimpurr",
                "timestamp": "2019-04-11T10:44:05Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u9009\u81ea\u539f\u6587 42 \u8282\u3002  === 42 ===  \u6211\u5f00\u59cb\u8bf4\u8d77\u300e\u6545\u4e8b\u300f\u3002\u5bf9\u8eba\u5728\u6c99\u53d1\u4e0a\u9677\u5165\u534a\u68a6\u534a\u9192\u95f4\u7684U\u55eb\u5685\u4f3c\u7684\u51fa\u58f0\u3002\u56e0\u7d27\u5f20\u800c\u8d70\u8c03\u7684\u8bf4\u8bdd\u58f0\u4e5f\u2026\u201d"
            }
        ]
    }
}