MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 8,
                "user": "Chenharry",
                "by": "Ccr",
                "timestamp": "2020-12-03T15:13:40Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 7,
                "user": "Test",
                "by": "Ccr",
                "timestamp": "2019-01-10T00:19:56Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 6,
                "user": "Xubin",
                "by": "Ccr",
                "timestamp": "2018-04-15T14:58:54Z",
                "expiry": "infinity",
                "reason": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 5,
                "user": "Binxu",
                "by": "Ccr",
                "timestamp": "2018-04-15T14:58:33Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 3,
                "user": "Atyhoxa",
                "by": "Ccr",
                "timestamp": "2018-01-05T02:32:21Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 1,
                "user": "Tianxiaoqi",
                "by": "Ccr",
                "timestamp": "2017-11-04T09:03:38Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            }
        ]
    }
}