MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20150628181550|1864",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1874,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 29,
                "logpage": 29,
                "params": {
                    "curid": 2298,
                    "previd": 111,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-09-25T21:03:18Z",
                "comment": ""
            },
            {
                "logid": 1873,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 30,
                "logpage": 30,
                "params": {
                    "curid": 2297,
                    "previd": 2296,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-09-25T20:59:12Z",
                "comment": ""
            },
            {
                "logid": 1872,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 30,
                "logpage": 30,
                "params": {
                    "curid": 2296,
                    "previd": 105,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-09-25T20:55:51Z",
                "comment": ""
            },
            {
                "logid": 1871,
                "ns": 10,
                "title": "Template:Navbox-ng",
                "pageid": 953,
                "logpage": 953,
                "params": {
                    "curid": 2295,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-09-25T20:44:36Z",
                "comment": ""
            },
            {
                "logid": 1870,
                "ns": 10,
                "title": "Template:Navbox",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2294,
                    "previd": 2293,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-08-11T15:31:22Z",
                "comment": ""
            },
            {
                "logid": 1869,
                "ns": 10,
                "title": "Template:Navbox",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2293,
                    "previd": 2292,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-08-11T15:30:56Z",
                "comment": ""
            },
            {
                "logid": 1868,
                "ns": 10,
                "title": "Template:Navbox",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2292,
                    "previd": 2291,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-08-11T15:29:31Z",
                "comment": ""
            },
            {
                "logid": 1867,
                "ns": 10,
                "title": "Template:Navbox",
                "pageid": 27,
                "logpage": 27,
                "params": {
                    "curid": 2291,
                    "previd": 2007,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "StephDC",
                "timestamp": "2017-08-11T15:28:19Z",
                "comment": ""
            },
            {
                "logid": 1866,
                "ns": 0,
                "title": "\u767e\u5ea6\u6c49\u670d\u5427",
                "pageid": 4,
                "logpage": 4,
                "params": {
                    "curid": 2290,
                    "previd": 858,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u5fc6\u8863\u51a0",
                "timestamp": "2017-04-15T16:55:05Z",
                "comment": ""
            },
            {
                "logid": 1865,
                "ns": 0,
                "title": "\u5e7f\u8896",
                "pageid": 952,
                "logpage": 952,
                "params": {
                    "curid": 2289,
                    "previd": 0,
                    "auto": ""
                },
                "type": "patrol",
                "action": "patrol",
                "user": "\u5fc6\u8863\u51a0",
                "timestamp": "2017-04-15T16:41:45Z",
                "comment": ""
            }
        ]
    }
}