MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 128,
                "user": "Hh",
                "by": "Yzqzss",
                "timestamp": "2025-03-10T16:59:35Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u5220\u9664\u9875\u9762\u5185\u5bb9",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 126,
                "user": "Master",
                "by": "Yzqzss",
                "timestamp": "2025-03-10T16:58:00Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u65e0\u793c\u7684\u884c\u4e3a\u3001\u653b\u51fb/\u9a9a\u6270\u4ed6\u4eba",
                "nocreate": "",
                "autoblock": "",
                "noemail": "",
                "allowusertalk": ""
            },
            {
                "id": 124,
                "user": "Alain",
                "by": "Yzqzss",
                "timestamp": "2025-03-10T16:34:43Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u65e0\u793c\u7684\u884c\u4e3a\u3001\u653b\u51fb/\u9a9a\u6270\u4ed6\u4eba",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 1,
                "user": "BestBacklinkservice",
                "by": "Yzqzss",
                "timestamp": "2024-03-20T03:15:03Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            }
        ]
    }
}