MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20230502152821|46",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 56,
                "ns": 14,
                "title": "\u5206\u7c7b:\u7eb8\u98de\u673a",
                "pageid": 45,
                "logpage": 45,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2023-05-03T08:18:32Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 55,
                "ns": 2,
                "title": "\u7528\u6237:Yang233",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 9
                },
                "type": "newusers",
                "action": "create",
                "user": "Yang233",
                "timestamp": "2023-05-03T07:08:33Z",
                "comment": ""
            },
            {
                "logid": 54,
                "ns": 10,
                "title": "\u6a21\u677f:bilibili\u6d4b\u8bd5",
                "pageid": 44,
                "logpage": 44,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2023-05-03T06:33:26Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{BilibiliVideo||id=BV1y5411K7sB}}\u201d"
            },
            {
                "logid": 53,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7fe0\u9e1f4-1.jpg",
                "pageid": 43,
                "logpage": 43,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2023-05-03T06:18:31Z",
                "comment": ""
            },
            {
                "logid": 52,
                "ns": 6,
                "title": "\u6587\u4ef6:\u7fe0\u9e1f4-1.jpg",
                "pageid": 43,
                "logpage": 43,
                "params": {
                    "img_sha1": "rcjsqrydgx419707ogp5lf0uyzh9ci5",
                    "img_timestamp": "2023-05-03T06:18:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Alice",
                "timestamp": "2023-05-03T06:18:31Z",
                "comment": ""
            },
            {
                "logid": 51,
                "ns": 10,
                "title": "\u6a21\u677f:\u9e73\u5f62\u76ee\u96bc\u79d1Navbox",
                "pageid": 42,
                "logpage": 42,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2023-05-03T06:11:06Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{Navbox |name  = \u9e73\u5f62\u76ee\u96bc\u79d1Navbox |title = [[\u9e73\u5f62\u76ee\u96bc\u79d1]] |list1 = {{Navbox|child   |navbar = plain   |title  = \u7eb8\u98de\u673a\u4f5c\u54c1 (\u90e8\u5206)   |group1 = 2012   |list1  =    |group2 = 2013   |list2  = [[\u7fe0\u9e1f4]]   |group3 = 2014   |list3  =    |group4 = 2015   |list4  = [[\u4fdd\u5427\u8005]] \u2022 [[\u970a\u7adc\u3081\u304c\u307f]] \u2022 [[\u301c\u672a\u547d\u540d\u306e\u7d19\u9ce5\u301c]] \u2022 [[\u82f1\u96c4(Eiyuu)]]   |group4 = 2016   |list4  = [[\u5bcc\u58eb\u4eff\u5c71\u6a5f]] \u2022 [[\u6e05plustaik\u016b]] \u2022 [[\u6625\u306e\u3075\u306a]]\u2026\u201d"
            },
            {
                "logid": 50,
                "ns": 0,
                "title": "\u7fe0\u9e1f4",
                "pageid": 41,
                "logpage": 41,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2023-05-03T04:34:16Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c'''\u7fe0\u9e1f4'''\u662f'''[[\u9e73\u5f62\u76ee\u96bc\u79d1]]'''\u7684\u7eb8\u98de\u673a\u4f5c\u54c1\u4e4b\u4e00\uff0c\u96b6\u5c5e\u4e8e\u7fe0\u9e1f\u7cfb\u5217\u3002 {{Infobox |name         = Infobox |bodystyle    =  |title        = \u7fe0\u9e1f4 |titlestyle   =  |image        = [[\u6587\u4ef6:\u7fe0\u9e1f4-1.png|200px]] |imagestyle   = max-width:200px |caption      = ''\u6559\u7a0b\u9996\u53d1\u8d34\u5b50\u4e2d\u7684\u7fe0\u9e1f4'' |captionstyle =  |headerstyle  = background:#ccf; |labelstyle   = background:#ddf; |datastyle    =   |header1 = \u521b\u4f5c\u4fe1\u606f |label2  = \u540d\u79f0 |data2\u2026\u201d"
            },
            {
                "logid": 49,
                "ns": 2,
                "title": "\u7528\u6237:Ceoffreylions",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 8
                },
                "type": "newusers",
                "action": "create",
                "user": "Ceoffreylions",
                "timestamp": "2023-05-02T16:49:10Z",
                "comment": ""
            },
            {
                "logid": 48,
                "ns": 2,
                "title": "\u7528\u6237:\u8fdb\u51fb\u5eb8\u624d",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create",
                "user": "\u8fdb\u51fb\u5eb8\u624d",
                "timestamp": "2023-05-02T16:12:23Z",
                "comment": ""
            },
            {
                "logid": 47,
                "ns": 2,
                "title": "\u7528\u6237:\u963f\u82b1",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "create",
                "user": "\u963f\u82b1",
                "timestamp": "2023-05-02T16:03:19Z",
                "comment": ""
            }
        ]
    }
}