MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20190827073517|37",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 47,
                "ns": 6,
                "title": "\u6587\u4ef6:\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe 15980731981830.png",
                "pageid": 62,
                "logpage": 62,
                "params": {
                    "img_sha1": "k3tyzhtqgusm9trfcj5rr3j048a4qnk",
                    "img_timestamp": "2020-08-22T05:14:17Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2020-08-22T05:14:17Z",
                "comment": ""
            },
            {
                "logid": 46,
                "ns": 6,
                "title": "\u6587\u4ef6:QQ\u56fe\u724720200602114834.png",
                "pageid": 61,
                "logpage": 61,
                "params": {
                    "img_sha1": "n99p5qlfxkuzq4uh9jywvvyz59vxnd6",
                    "img_timestamp": "2020-06-02T03:49:43Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2020-06-02T03:49:43Z",
                "comment": ""
            },
            {
                "logid": 45,
                "ns": 6,
                "title": "\u6587\u4ef6:QQ\u622a\u56fe20191015155913.png",
                "pageid": 60,
                "logpage": 60,
                "params": {
                    "img_sha1": "l9k8tyc83onu2fg90x7ez6pl5akkcgl",
                    "img_timestamp": "2019-10-15T08:02:17Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-10-15T08:02:17Z",
                "comment": ""
            },
            {
                "logid": 44,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u4e5d\u6b65.png",
                "pageid": 58,
                "logpage": 58,
                "params": {
                    "img_sha1": "oe7lujha6jfvzw6znhd2q1ld35j1xpk",
                    "img_timestamp": "2019-08-27T07:45:09Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:45:09Z",
                "comment": ""
            },
            {
                "logid": 43,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u516b\u6b65.png",
                "pageid": 57,
                "logpage": 57,
                "params": {
                    "img_sha1": "jho4ybtojobq8pt3l5qe136uxhq1r40",
                    "img_timestamp": "2019-08-27T07:44:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:44:31Z",
                "comment": ""
            },
            {
                "logid": 42,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u4e03\u6b65.jpg",
                "pageid": 56,
                "logpage": 56,
                "params": {
                    "img_sha1": "5b8f4ft5wprfkxr56b095hydrmfb2jv",
                    "img_timestamp": "2019-08-27T07:43:46Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:43:46Z",
                "comment": ""
            },
            {
                "logid": 41,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u516d\u6b65.png",
                "pageid": 55,
                "logpage": 55,
                "params": {
                    "img_sha1": "1oe3ius3k4y626mrc0ch8zy6e0sdm3l",
                    "img_timestamp": "2019-08-27T07:41:05Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:41:05Z",
                "comment": ""
            },
            {
                "logid": 40,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u4e94\u6b65.png",
                "pageid": 54,
                "logpage": 54,
                "params": {
                    "img_sha1": "horvs7i7yl4vojq5k3dvwfjnbkua0sl",
                    "img_timestamp": "2019-08-27T07:39:58Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:39:58Z",
                "comment": ""
            },
            {
                "logid": 39,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u56db\u6b65.png",
                "pageid": 53,
                "logpage": 53,
                "params": {
                    "img_sha1": "o9aygiw8lh4j7n17qun8hno90g60scs",
                    "img_timestamp": "2019-08-27T07:37:51Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:37:51Z",
                "comment": ""
            },
            {
                "logid": 38,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7b2c\u4e09\u6b65.png",
                "pageid": 52,
                "logpage": 52,
                "params": {
                    "img_sha1": "t4cgw360d7jrttwkmyuaq2myxx62ico",
                    "img_timestamp": "2019-08-27T07:36:21Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Leon",
                "timestamp": "2019-08-27T07:36:21Z",
                "comment": ""
            }
        ]
    }
}