MediaWiki API 結果

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

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

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

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query."
        }
    },
    "query-continue": {
        "logevents": {
            "lecontinue": "20260501000030|5399"
        }
    },
    "query": {
        "logevents": [
            {
                "logid": 5409,
                "ns": 0,
                "title": "Elementary-school",
                "pageid": 87,
                "logpage": 87,
                "params": {
                    "curid": 5379,
                    "previd": 4929,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-20T07:06:20Z",
                "comment": ""
            },
            {
                "logid": 5408,
                "ns": 0,
                "title": "Hui",
                "pageid": 4,
                "logpage": 4,
                "params": {
                    "curid": 5378,
                    "previd": 5377,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-16T00:58:22Z",
                "comment": ""
            },
            {
                "logid": 5407,
                "ns": 0,
                "title": "Hui",
                "pageid": 4,
                "logpage": 4,
                "params": {
                    "curid": 5377,
                    "previd": 5376,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-16T00:56:47Z",
                "comment": ""
            },
            {
                "logid": 5406,
                "ns": 0,
                "title": "Hui",
                "pageid": 4,
                "logpage": 4,
                "params": {
                    "curid": 5376,
                    "previd": 5375,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-16T00:56:18Z",
                "comment": ""
            },
            {
                "logid": 5405,
                "ns": 0,
                "title": "Hui",
                "pageid": 4,
                "logpage": 4,
                "params": {
                    "curid": 5375,
                    "previd": 5304,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-16T00:55:49Z",
                "comment": ""
            },
            {
                "logid": 5404,
                "ns": 0,
                "title": "Lamplib-books",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "curid": 5374,
                    "previd": 5373,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-04T04:57:09Z",
                "comment": ""
            },
            {
                "logid": 5403,
                "ns": 0,
                "title": "Lamplib-books",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "curid": 5373,
                    "previd": 5372,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-04T04:55:21Z",
                "comment": ""
            },
            {
                "logid": 5402,
                "ns": 0,
                "title": "Lamplib-books",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "curid": 5372,
                    "previd": 5371,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-01T00:04:45Z",
                "comment": ""
            },
            {
                "logid": 5401,
                "ns": 0,
                "title": "Lamplib-books",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "curid": 5371,
                    "previd": 5370,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-01T00:02:02Z",
                "comment": ""
            },
            {
                "logid": 5400,
                "ns": 0,
                "title": "Lamplib-books",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "curid": 5370,
                    "previd": 5369,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Huichao",
                "timestamp": "2026-05-01T00:01:07Z",
                "comment": ""
            }
        ]
    }
}