MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 9,
                "user": "\u884c\u5230\u6c34\u7a77\u5904\u7684\u7238\u7238",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-23T02:44:15Z",
                "expiry": "infinity",
                "reason": "\u3002\u3002\u3002",
                "allowusertalk": ""
            },
            {
                "id": 7,
                "user": "Test3",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-20T15:58:16Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": ""
            },
            {
                "id": 6,
                "user": "Test2",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-20T15:58:05Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": ""
            },
            {
                "id": 5,
                "user": "11812814",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-20T15:57:48Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": ""
            },
            {
                "id": 4,
                "user": "NAKELIWIKI",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-20T15:57:26Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": ""
            },
            {
                "id": 3,
                "user": "Nankewiki",
                "by": "\u884c\u5230\u6c34\u7a77\u5904",
                "timestamp": "2018-11-20T15:56:58Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": ""
            }
        ]
    }
}