MediaWiki API 结果

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

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

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

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data has changed. To receive raw query-continue data, use the 'rawcontinue' parameter. To silence this warning, pass an empty string for 'continue' in the initial query."
        }
    },
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20210213164131|6176",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 6186,
                "ns": 0,
                "title": "Stardew Valley Wiki",
                "pageid": 5,
                "logpage": 5,
                "params": {
                    "curid": 18788,
                    "previd": 16332,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Katzeus",
                "timestamp": "2021-02-16T17:03:38Z",
                "comment": ""
            },
            {
                "logid": 6185,
                "ns": 2,
                "title": "User:Moses245",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 21953
                },
                "type": "newusers",
                "action": "create",
                "user": "Moses245",
                "timestamp": "2021-02-16T05:44:45Z",
                "comment": ""
            },
            {
                "logid": 6184,
                "ns": 2,
                "title": "User:\u5317\u51a5\u997c\u9cb2",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 21949
                },
                "type": "newusers",
                "action": "create",
                "user": "\u5317\u51a5\u997c\u9cb2",
                "timestamp": "2021-02-16T00:20:40Z",
                "comment": ""
            },
            {
                "logid": 6183,
                "ns": 3,
                "title": "User talk:Margotbean",
                "pageid": 1025,
                "logpage": 1025,
                "params": {
                    "curid": 18776,
                    "previd": 18755,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Margotbean",
                "timestamp": "2021-02-14T17:55:09Z",
                "comment": ""
            },
            {
                "logid": 6182,
                "ns": 2,
                "title": "User:Rayon642",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 21906
                },
                "type": "newusers",
                "action": "create",
                "user": "Rayon642",
                "timestamp": "2021-02-14T05:15:28Z",
                "comment": ""
            },
            {
                "logid": 6181,
                "ns": 0,
                "title": "\u6e29\u5e03\u65af\u96d5\u50cf",
                "pageid": 1711,
                "logpage": 1711,
                "params": {
                    "curid": 18771,
                    "previd": 18283,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Horizon Bot",
                "timestamp": "2021-02-13T16:42:28Z",
                "comment": ""
            },
            {
                "logid": 6180,
                "ns": 0,
                "title": "\u54c8\u7ef4",
                "pageid": 168,
                "logpage": 168,
                "params": {
                    "curid": 18770,
                    "previd": 18760,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Horizon Bot",
                "timestamp": "2021-02-13T16:42:20Z",
                "comment": ""
            },
            {
                "logid": 6179,
                "ns": 0,
                "title": "\u5361\u6d1b\u7433",
                "pageid": 284,
                "logpage": 284,
                "params": {
                    "curid": 18769,
                    "previd": 18727,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Horizon Bot",
                "timestamp": "2021-02-13T16:42:09Z",
                "comment": ""
            },
            {
                "logid": 6178,
                "ns": 0,
                "title": "\u514b\u6797\u7279",
                "pageid": 232,
                "logpage": 232,
                "params": {
                    "curid": 18768,
                    "previd": 18548,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Horizon Bot",
                "timestamp": "2021-02-13T16:41:59Z",
                "comment": ""
            },
            {
                "logid": 6177,
                "ns": 0,
                "title": "\u4f20\u9001\u56fe\u817e\uff1a\u6c99\u6f20",
                "pageid": 1122,
                "logpage": 1122,
                "params": {
                    "curid": 18767,
                    "previd": 18088,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Horizon Bot",
                "timestamp": "2021-02-13T16:41:48Z",
                "comment": ""
            }
        ]
    }
}