MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20210118075032|563",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 573,
                "ns": 2,
                "title": "\u7528\u6237:3098787647",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 122
                },
                "type": "newusers",
                "action": "create",
                "user": "3098787647",
                "timestamp": "2021-09-28T02:46:37Z",
                "comment": ""
            },
            {
                "logid": 572,
                "ns": 2,
                "title": "\u7528\u6237:\u7761\u4e0d\u9192",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 121
                },
                "type": "newusers",
                "action": "create",
                "user": "\u7761\u4e0d\u9192",
                "timestamp": "2021-09-11T05:06:59Z",
                "comment": ""
            },
            {
                "logid": 571,
                "ns": 2,
                "title": "\u7528\u6237:Koke",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 120
                },
                "type": "newusers",
                "action": "create",
                "user": "Koke",
                "timestamp": "2021-05-14T21:42:47Z",
                "comment": ""
            },
            {
                "logid": 570,
                "ns": 2,
                "title": "\u7528\u6237:Laomo",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 119
                },
                "type": "newusers",
                "action": "create",
                "user": "Laomo",
                "timestamp": "2021-02-26T06:55:10Z",
                "comment": ""
            },
            {
                "logid": 569,
                "ns": 2,
                "title": "\u7528\u6237:Big\u58ee",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 118
                },
                "type": "newusers",
                "action": "create",
                "user": "Big\u58ee",
                "timestamp": "2021-01-21T05:51:01Z",
                "comment": ""
            },
            {
                "logid": 568,
                "ns": 0,
                "title": "\u94f6\u5e73\u662f\u50bb\u903c2",
                "pageid": 251,
                "logpage": 251,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ankank2",
                "timestamp": "2021-01-18T09:30:01Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[\u94f6\u5e73\u662f\u50bb\u903c3]]\u201d"
            },
            {
                "logid": 567,
                "ns": 0,
                "title": "\u94f6\u5e73\u662f\u50bb\u903c",
                "pageid": 250,
                "logpage": 250,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ankank2",
                "timestamp": "2021-01-18T09:29:39Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[\u94f6\u5e73\u662f\u50bb\u903c2]]\u201d"
            },
            {
                "logid": 566,
                "ns": 0,
                "title": "\u6d4b\u8bd52",
                "pageid": 248,
                "logpage": 248,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ankank2",
                "timestamp": "2021-01-18T07:58:47Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u98de\u884c\u5e03\u91cc}}__NOTOC__ __NOEDITSECTION__ __INDEX__ <!--m\u7aef\u7684\u56fe--> <div class=\"visible-xs\"> {{\u8f6e\u64ad\u56fe|1}} <div class=\"row\"> <div class=\"col-xs-3 col-sm-3 col-\u2026\u201d"
            },
            {
                "logid": 565,
                "ns": 10,
                "title": "\u6a21\u677f:Math",
                "pageid": 246,
                "logpage": 246,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ankank2",
                "timestamp": "2021-01-18T07:53:38Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><span class=\"texhtml {{#if:{{{big|}}}{{{size|}}}|texhtml-big}}\" {{#if:{{{big|}}}{{{size|}}}|style=\"font-size:{{{size|165%}}};\"}}>{{{1}}}</span></include\u2026\u201d"
            },
            {
                "logid": 564,
                "ns": 10,
                "title": "\u6a21\u677f:Radic",
                "pageid": 245,
                "logpage": 245,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ankank2",
                "timestamp": "2021-01-18T07:52:37Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><span class=\"nowrap radic\">{{#if:{{{2|}}}|<sup class=\"radic-root\" style=\"margin-right: -0.5em; vertical-align: 0.8em;\">{{{2|}}}</sup>}}<span class=\"radi\u2026\u201d"
            }
        ]
    }
}