MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20230518221653|398",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 453,
                "user": "2401:E180:8800:0:0:0:0:0/40",
                "by": "Johannnes89",
                "timestamp": "2025-11-09T10:40:07Z",
                "expiry": "2026-02-09T10:40:07Z",
                "duration-l10n": "3\u4e2a\u6708",
                "reason": "{{range block}}",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 451,
                "user": "\u6190\u52c3\u760d",
                "by": "Minorax",
                "timestamp": "2025-11-09T09:26:38Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "Long-term abuse",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 449,
                "user": "\u5433\u77f3\u518d\u4e16\uff08\u310f\u3122 \u3109\u3120\uff09",
                "by": "Tanbiruzzaman",
                "timestamp": "2025-11-09T02:53:46Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "Vandalism ([[m:Special:MyLanguage/GS|global sysop]] action)",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 447,
                "user": "\u590f\u571f\u5305\u5b50\u8ce2\u559c\u6b61\u5403\u5927\u8b8a",
                "by": "DreamRimmer",
                "timestamp": "2025-10-30T10:26:24Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "Vandalism",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 441,
                "user": "75.25.131.135",
                "by": "WhitePhosphorus",
                "timestamp": "2025-05-17T18:31:40Z",
                "expiry": "2026-05-17T18:31:40Z",
                "duration-l10n": "1\u5e74",
                "reason": "Cross-wiki vandalism ([[m:GS|global sysop]] action)",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 433,
                "user": "Jhon65430",
                "by": "Ericliu1912",
                "timestamp": "2024-06-11T09:44:03Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u6563\u767c\u5ee3\u544a\u6216\u5ba3\u50b3",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 429,
                "user": "\u9a6c\u5c14\u67f3\u4e1d\u72791883\u53f7",
                "by": "WhitePhosphorus",
                "timestamp": "2024-01-25T09:53:43Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "Long-term abuse",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 426,
                "user": "Woxhxdhdjsj",
                "by": "Ericliu1912",
                "timestamp": "2024-01-05T14:52:43Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u7834\u58de",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 424,
                "user": "\u4e00\u671b\u800c\u77e5 \u9577\u671f\u7834\u58de\u8005",
                "by": "Ericliu1912",
                "timestamp": "2023-11-27T03:03:13Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "\u7528\u6236\u540d\u4e0d\u7576",
                "allowusertalk": ""
            },
            {
                "id": 413,
                "user": "Lswts10",
                "by": "WhitePhosphorus",
                "timestamp": "2023-08-23T10:34:25Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "Vandalism ([[m:GS|global sysop]] action)",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}