MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20200603040420|21",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 54,
                "user": "\u6211\u6c38\u8fdc\u559c\u6b22\u5bc6\u82cf\u91cc",
                "by": "Donnyjie",
                "timestamp": "2026-03-07T15:30:30Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 53,
                "by": "Donnyjie",
                "timestamp": "2025-10-16T12:09:10Z",
                "expiry": "2026-10-16T18:09:10Z",
                "reason": "\u56e0\u4e3a\u60a8\u4e0e\u201c[[User:Scarletty|Scarletty]]\u201d\u5171\u4eab\u4e00\u4e2aIP\u5730\u5740\u800c\u88ab\u81ea\u52a8\u5c01\u7981\u3002\nScarletty\u88ab\u5c01\u7981\u7684\u7406\u7531\u662f\u201c\u201d",
                "automatic": "",
                "nocreate": ""
            },
            {
                "id": 52,
                "user": "Scarletty",
                "by": "Donnyjie",
                "timestamp": "2025-10-16T12:09:10Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 51,
                "by": "Donnyjie",
                "timestamp": "2025-10-15T12:35:03Z",
                "expiry": "2026-10-15T12:35:03Z",
                "reason": "\u56e0\u4e3a\u60a8\u4e0e\u201c[[User:Gundam1996|Gundam1996]]\u201d\u5171\u4eab\u4e00\u4e2aIP\u5730\u5740\u800c\u88ab\u81ea\u52a8\u5c01\u7981\u3002\nGundam1996\u88ab\u5c01\u7981\u7684\u7406\u7531\u662f\u201c\u201d",
                "automatic": "",
                "nocreate": ""
            },
            {
                "id": 50,
                "user": "Gundam1996",
                "by": "Donnyjie",
                "timestamp": "2025-10-15T12:35:03Z",
                "expiry": "2026-10-15T12:35:03Z",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 37,
                "user": "\u4e03\u661f\u5f20",
                "by": "Donnyjie",
                "timestamp": "2020-08-21T08:09:45Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 35,
                "user": "\u8e47\u732a\u732a1",
                "by": "Donnyjie",
                "timestamp": "2020-08-19T06:14:09Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 33,
                "user": "Ai323017",
                "by": "Benzheng",
                "timestamp": "2020-08-15T09:56:59Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 30,
                "user": "\u4e00\u8def\u76f4\u8d70",
                "by": "Donnyjie",
                "timestamp": "2020-06-24T11:02:56Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 26,
                "user": "Hayivf",
                "by": "Laoweek",
                "timestamp": "2020-06-03T12:26:51Z",
                "expiry": "infinity",
                "reason": "\u5e7f\u544a",
                "nocreate": "",
                "autoblock": ""
            }
        ]
    }
}