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": "20140313040158|1240"
        }
    },
    "query": {
        "logevents": [
            {
                "logid": 1250,
                "ns": 0,
                "title": "NBS\u6743\u5229\u6cd5\u6848",
                "pageid": 30,
                "logpage": 30,
                "params": {
                    "curid": 2685,
                    "previd": 2682,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "DYMANES",
                "timestamp": "2016-09-10T13:39:29Z",
                "comment": ""
            },
            {
                "logid": 1249,
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "logpage": 1,
                "params": {
                    "curid": 2684,
                    "previd": 210,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "DYMANES",
                "timestamp": "2016-09-10T13:34:49Z",
                "comment": ""
            },
            {
                "logid": 1248,
                "ns": 0,
                "title": "NBS",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2683,
                    "previd": 2681,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "DYMANES",
                "timestamp": "2016-09-10T13:27:27Z",
                "comment": ""
            },
            {
                "logid": 1247,
                "ns": 0,
                "title": "NBS",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2681,
                    "previd": 2680,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u8001\u6e7f",
                "timestamp": "2014-10-25T06:47:57Z",
                "comment": ""
            },
            {
                "logid": 1246,
                "ns": 0,
                "title": "NBS",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2680,
                    "previd": 2679,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u8001\u6e7f",
                "timestamp": "2014-10-25T06:37:54Z",
                "comment": ""
            },
            {
                "logid": 1245,
                "ns": 0,
                "title": "NBS",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2679,
                    "previd": 2678,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u8001\u6e7f",
                "timestamp": "2014-10-25T06:36:00Z",
                "comment": ""
            },
            {
                "logid": 1244,
                "ns": 0,
                "title": "NBS",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2678,
                    "previd": 2671,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u8001\u6e7f",
                "timestamp": "2014-10-25T06:09:24Z",
                "comment": ""
            },
            {
                "logid": 1243,
                "ns": 0,
                "title": "\u6089\u5c3c\u6f2b\u5c55\u65f6\u95f4\u8868",
                "pageid": 33,
                "logpage": 33,
                "params": {
                    "curid": 2677,
                    "previd": 2676,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Need-Being",
                "timestamp": "2014-03-13T04:07:28Z",
                "comment": ""
            },
            {
                "logid": 1242,
                "ns": 0,
                "title": "\u6089\u5c3c\u6f2b\u5c55\u65f6\u95f4\u8868",
                "pageid": 33,
                "logpage": 33,
                "params": {
                    "curid": 2676,
                    "previd": 2675,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Need-Being",
                "timestamp": "2014-03-13T04:06:38Z",
                "comment": ""
            },
            {
                "logid": 1241,
                "ns": 0,
                "title": "\u6089\u5c3c\u6f2b\u5c55\u65f6\u95f4\u8868",
                "pageid": 33,
                "logpage": 33,
                "params": {
                    "curid": 2675,
                    "previd": 2674,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Need-Being",
                "timestamp": "2014-03-13T04:03:49Z",
                "comment": ""
            }
        ]
    }
}