MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 17,
                "user": "115.135.0.0/19",
                "by": "\u963f\u9053\u592b\u4e2d\u592e\u7f16\u8bd1\u5c40",
                "timestamp": "2025-08-04T07:58:30Z",
                "expiry": "2027-12-31T07:57:50Z",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 16,
                "user": "104.28.156.221",
                "by": "\u76ae\u4e9a\u7406\u513f",
                "timestamp": "2025-08-03T03:36:21Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 1,
                "user": "\u53ef\u53ef\u7c89",
                "by": "\u76ae\u4e9a\u7406\u513f",
                "timestamp": "2022-10-05T11:29:53Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u865a\u5047\u4fe1\u606f",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}