MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240531112801|2012",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2022,
                "ns": 2,
                "title": "\u7528\u6237:HK416",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 53
                },
                "type": "newusers",
                "action": "create",
                "user": "HK416",
                "timestamp": "2024-07-04T23:10:16Z",
                "comment": ""
            },
            {
                "logid": 2021,
                "ns": 844,
                "title": "CommentStreams:5814674592f618721778f69809fc9816",
                "pageid": 1233,
                "logpage": 1233,
                "params": {},
                "type": "commentstreams",
                "action": "comment-create",
                "user": "114.199.79.130",
                "anon": "",
                "timestamp": "2024-07-04T15:49:59Z",
                "comment": ""
            },
            {
                "logid": 2020,
                "ns": 844,
                "title": "CommentStreams:5814674592f618721778f69809fc9816",
                "pageid": 1233,
                "logpage": 1233,
                "revid": 2273,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "114.199.79.130",
                "anon": "",
                "timestamp": "2024-07-04T15:49:59Z",
                "comment": ""
            },
            {
                "logid": 2019,
                "ns": 2,
                "title": "\u7528\u6237:\u827e\u8389\u5b89\u5a1c",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 52
                },
                "type": "newusers",
                "action": "create",
                "user": "\u827e\u8389\u5b89\u5a1c",
                "timestamp": "2024-06-07T14:26:06Z",
                "comment": ""
            },
            {
                "logid": 2018,
                "ns": 844,
                "title": "CommentStreams:2e25e5b0e144ae9cb93a6c50485f6d91",
                "pageid": 1232,
                "logpage": 1232,
                "params": {},
                "type": "commentstreams",
                "action": "reply-create",
                "user": "124.93.237.80",
                "anon": "",
                "timestamp": "2024-06-02T09:21:44Z",
                "comment": ""
            },
            {
                "logid": 2017,
                "ns": 844,
                "title": "CommentStreams:2e25e5b0e144ae9cb93a6c50485f6d91",
                "pageid": 1232,
                "logpage": 1232,
                "revid": 2272,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "124.93.237.80",
                "anon": "",
                "timestamp": "2024-06-02T09:21:44Z",
                "comment": ""
            },
            {
                "logid": 2016,
                "ns": 6,
                "title": "\u6587\u4ef6:Skill Chrtalent ActivitySR5.png",
                "pageid": 1230,
                "logpage": 1230,
                "revid": 2267,
                "params": {
                    "img_sha1": "o09itp8j043t8cfjkwszk6vt8c4fyut",
                    "img_timestamp": "2024-05-31T11:44:06Z"
                },
                "type": "upload",
                "action": "revert",
                "user": "\u592a\u9633\u7167\u5e38\u5347\u8d77-",
                "timestamp": "2024-05-31T11:44:06Z",
                "comment": "\u56de\u9000\u81f32024\u5e745\u670831\u65e5 (\u661f\u671f\u4e94) 11:28\uff08UTC\uff09\u7684\u7248\u672c"
            },
            {
                "logid": 2015,
                "ns": 6,
                "title": "\u6587\u4ef6:Skill Chrtalent ActivitySR5.png",
                "pageid": 1230,
                "logpage": 1230,
                "revid": 2266,
                "params": {
                    "img_sha1": "pwu46g4uzttyydihmp9ijjp9zoyjloq",
                    "img_timestamp": "2024-05-31T11:43:55Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "\u592a\u9633\u7167\u5e38\u5347\u8d77-",
                "timestamp": "2024-05-31T11:43:55Z",
                "comment": "Game:Skill_Chrtalent_ActivitySR5.png"
            },
            {
                "logid": 2014,
                "ns": 6,
                "title": "\u6587\u4ef6:Skill Chrtalent OperationActivitySR4.png",
                "pageid": 1231,
                "logpage": 1231,
                "revid": 2265,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u592a\u9633\u7167\u5e38\u5347\u8d77-",
                "timestamp": "2024-05-31T11:31:24Z",
                "comment": ""
            },
            {
                "logid": 2013,
                "ns": 6,
                "title": "\u6587\u4ef6:Skill Chrtalent OperationActivitySR4.png",
                "pageid": 1231,
                "logpage": 1231,
                "revid": 2265,
                "params": {
                    "img_sha1": "69mur0rurtq70rw44sc7xg9iseudzbb",
                    "img_timestamp": "2024-05-31T11:31:24Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u592a\u9633\u7167\u5e38\u5347\u8d77-",
                "timestamp": "2024-05-31T11:31:24Z",
                "comment": ""
            }
        ]
    }
}