MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250427041548|792",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 802,
                "ns": -1,
                "title": "\u7279\u6b8a:WikiForum",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "thread-name": "\u961c\u9633\u6050\u6016\u80c3\u888b"
                },
                "type": "forum",
                "action": "add-reply",
                "user": "Rooster",
                "timestamp": "2025-04-29T12:59:07Z",
                "comment": "\u8d28\u91cf\u597d\u4f4e\uff01"
            },
            {
                "logid": 801,
                "ns": -1,
                "title": "\u7279\u6b8a:Chat",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "message": "\u4f60\u4eec\u597d"
                },
                "type": "chat",
                "action": "send",
                "user": "Rooster",
                "timestamp": "2025-04-29T05:29:45Z",
                "comment": ""
            },
            {
                "logid": 800,
                "ns": 0,
                "title": "\u6587\u96c6/\u848b\u9633\u9e3f\u8bd7\u96c6",
                "pageid": 221,
                "logpage": 221,
                "params": {
                    "commentid": 13
                },
                "type": "comments",
                "action": "add",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:31:52Z",
                "comment": "\u304b\u3063\u3053\u3044\u3044"
            },
            {
                "logid": 799,
                "ns": 0,
                "title": "\u7f57\u65af",
                "pageid": 325,
                "logpage": 325,
                "params": {
                    "commentid": 12
                },
                "type": "comments",
                "action": "add",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:22:56Z",
                "comment": "\u975e\u5e38\u597d\u4f5c\u54c1\uff01"
            },
            {
                "logid": 798,
                "ns": 0,
                "title": "\u72ec\u5b64\u79cb\u6668",
                "pageid": 51,
                "logpage": 51,
                "params": {
                    "commentid": 11
                },
                "type": "comments",
                "action": "add",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:22:13Z",
                "comment": "\u597d\u5dee\u7684\u4f5c\u54c1\uff01"
            },
            {
                "logid": 797,
                "ns": -1,
                "title": "\u7279\u6b8a:Chat",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "message": "\u6765\u4eba"
                },
                "type": "chat",
                "action": "send",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:14:13Z",
                "comment": ""
            },
            {
                "logid": 796,
                "ns": -1,
                "title": "\u7279\u6b8a:Chat",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "message": "\u738b\u516b\u86cb\uff01\uff01\uff01"
                },
                "type": "chat",
                "action": "send",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:14:05Z",
                "comment": ""
            },
            {
                "logid": 795,
                "ns": -1,
                "title": "\u7279\u6b8a:WikiForum",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "thread-name": "\u6c94\u9633\u7334\u7334\u4f20"
                },
                "type": "forum",
                "action": "add-reply",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:11:47Z",
                "comment": "\u6c94\u9633\u7334\u7334\u4f20\uff1a\u7b2c\u4e8c\u7ae0\u3016\u848b\u9633\u9e3f\u73a9\u7b2c\u2026"
            },
            {
                "logid": 794,
                "ns": -1,
                "title": "\u7279\u6b8a:WikiForum",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "thread-name": "\u6c94\u9633\u7334\u7334\u4f20"
                },
                "type": "forum",
                "action": "add-thread",
                "user": "Rooster",
                "timestamp": "2025-04-28T17:11:26Z",
                "comment": "\u6c94\u9633\u7334\u7334\u4f20\uff1a\u7b2c\u4e00\u7ae0\u3016\u5927\u796d\u53f8\u9999\u8549\u2026"
            },
            {
                "logid": 793,
                "ns": 4,
                "title": "Age Of History 2 Chinese Wiki:\u5173\u4e8e",
                "pageid": 95,
                "logpage": 95,
                "params": {
                    "commentid": 10
                },
                "type": "comments",
                "action": "add",
                "user": "108.162.245.171",
                "anon": "",
                "timestamp": "2025-04-27T05:44:23Z",
                "comment": "\u5947\u5f02\u641e\u7b11"
            }
        ]
    }
}