MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20180406032825|16",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 26,
                "ns": 2,
                "title": "\u7528\u6237:Sam",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "byemail",
                "user": "Admin",
                "timestamp": "2020-02-11T12:38:09Z",
                "comment": "Please correct typos, and edit what is necessary"
            },
            {
                "logid": 25,
                "ns": 2,
                "title": "\u7528\u6237:Juranek",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "byemail",
                "user": "Admin",
                "timestamp": "2018-07-10T08:28:53Z",
                "comment": ""
            },
            {
                "logid": 24,
                "ns": 2,
                "title": "\u7528\u6237:Matus",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "byemail",
                "user": "Admin",
                "timestamp": "2018-07-10T08:28:36Z",
                "comment": ""
            },
            {
                "logid": 23,
                "ns": 2,
                "title": "\u7528\u6237:Svec",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "byemail",
                "user": "Admin",
                "timestamp": "2018-07-10T08:28:11Z",
                "comment": ""
            },
            {
                "logid": 22,
                "ns": 6,
                "title": "\u6587\u4ef6:Table-tennis-ball-scan-S-vs-L-w800.png",
                "pageid": 45,
                "logpage": 45,
                "params": {
                    "img_sha1": "25e52gph6rm0al6ncgqhq9q36pjuksg",
                    "img_timestamp": "2018-04-19T12:18:06Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-19T12:18:06Z",
                "comment": ""
            },
            {
                "logid": 21,
                "ns": 6,
                "title": "\u6587\u4ef6:Shape-acquisition-categorisation.png",
                "pageid": 44,
                "logpage": 44,
                "params": {
                    "img_sha1": "957lh7nptdxzhtpghzywxpe1yrq568s",
                    "img_timestamp": "2018-04-19T11:31:28Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-19T11:31:28Z",
                "comment": ""
            },
            {
                "logid": 20,
                "ns": 6,
                "title": "\u6587\u4ef6:Bin-picking-components-connections.jpg",
                "pageid": 43,
                "logpage": 43,
                "params": {
                    "img_sha1": "szzgwyutklna6148izz5bceeq95hsxd",
                    "img_timestamp": "2018-04-19T07:42:28Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-19T07:42:28Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 6,
                "title": "\u6587\u4ef6:RobotCameraCalibrationTool 0.8b.png",
                "pageid": 42,
                "logpage": 42,
                "params": {
                    "img_sha1": "sqc68lb2bydekh4q0hze2t14eo9i7wf",
                    "img_timestamp": "2018-04-10T01:18:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-10T01:18:31Z",
                "comment": ""
            },
            {
                "logid": 18,
                "ns": 6,
                "title": "\u6587\u4ef6:Confidence-map-explanation 1080.jpg",
                "pageid": 41,
                "logpage": 41,
                "params": {
                    "img_sha1": "9qfh1nqgn1ot20ti4u3kq27i8mbv0vk",
                    "img_timestamp": "2018-04-06T03:29:25Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-06T03:29:25Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 6,
                "title": "\u6587\u4ef6:Ply-header-with-confidence.jpg",
                "pageid": 40,
                "logpage": 40,
                "params": {
                    "img_sha1": "kej5yg3h2rgups4qjohgcf1lr36s8pi",
                    "img_timestamp": "2018-04-06T03:28:57Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alan",
                "timestamp": "2018-04-06T03:28:57Z",
                "comment": ""
            }
        ]
    }
}