MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20180622081958|236",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 246,
                "ns": 2,
                "title": "User:123 abc",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 18
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "123 abc",
                "timestamp": "2020-09-28T01:42:45Z",
                "comment": ""
            },
            {
                "logid": 245,
                "ns": 2,
                "title": "User:Jesseh",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 16
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Jesseh",
                "timestamp": "2018-09-23T15:34:26Z",
                "comment": ""
            },
            {
                "logid": 244,
                "ns": 0,
                "title": "Mallet",
                "pageid": 156,
                "logpage": 156,
                "params": {
                    "curid": 427,
                    "previd": 407,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-07-12T13:37:38Z",
                "comment": ""
            },
            {
                "logid": 243,
                "ns": 0,
                "title": "\u4e2d\u570b\u6b77\u4ee3\u4eba\u7269\u50b3\u8a18\u8cc7\u6599\u5eab",
                "pageid": 15,
                "logpage": 15,
                "params": {
                    "curid": 426,
                    "previd": 319,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-07-12T13:36:15Z",
                "comment": ""
            },
            {
                "logid": 242,
                "ns": 0,
                "title": "CrossAsia",
                "pageid": 158,
                "logpage": 158,
                "params": {
                    "curid": 425,
                    "previd": 356,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-07-04T10:53:08Z",
                "comment": ""
            },
            {
                "logid": 241,
                "ns": 0,
                "title": "\u96fb\u5b50\u4f5b\u6559\u8fad\u5178",
                "pageid": 153,
                "logpage": 153,
                "params": {
                    "curid": 424,
                    "previd": 349,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-07-04T10:51:08Z",
                "comment": ""
            },
            {
                "logid": 240,
                "ns": 2,
                "title": "User:Hueilanxiong",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 15
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Hueilanxiong",
                "timestamp": "2018-07-02T08:16:12Z",
                "comment": ""
            },
            {
                "logid": 239,
                "ns": 4,
                "title": "Digital Sinology:\u4f7f\u7528\u6307\u5357",
                "pageid": 150,
                "logpage": 150,
                "params": {
                    "curid": 413,
                    "previd": 412,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-06-25T23:37:32Z",
                "comment": ""
            },
            {
                "logid": 238,
                "ns": 4,
                "title": "Digital Sinology:\u4f7f\u7528\u6307\u5357",
                "pageid": 150,
                "logpage": 150,
                "params": {
                    "curid": 412,
                    "previd": 411,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-06-25T23:37:09Z",
                "comment": ""
            },
            {
                "logid": 237,
                "ns": 4,
                "title": "Digital Sinology:\u4f7f\u7528\u6307\u5357",
                "pageid": 150,
                "logpage": 150,
                "params": {
                    "curid": 411,
                    "previd": 397,
                    "auto": ""
                },
                "type": "patrol",
                "action": "autopatrol",
                "user": "Dsturgeon",
                "timestamp": "2018-06-25T23:36:42Z",
                "comment": ""
            }
        ]
    }
}