MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 10,
                "user": "3493131500653071",
                "by": "321881395",
                "timestamp": "2025-10-30T14:51:32Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 4,
                "user": "1569754395",
                "by": "132568537",
                "timestamp": "2022-03-31T00:42:16Z",
                "expiry": "infinity",
                "reason": "\u79fb\u9664\u9875\u9762\u5185\u5bb9",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 3,
                "user": "1405272138",
                "by": "184307230",
                "timestamp": "2022-03-30T10:49:22Z",
                "expiry": "infinity",
                "reason": "\u6050\u5413\u884c\u4e3a/\u9a9a\u6270",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 1,
                "user": "650996971",
                "by": "184307230",
                "timestamp": "2022-03-29T14:41:11Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}