MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20080813125924|13",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 54,
                "user": "175.176.0.0/17",
                "by": "Sarah",
                "timestamp": "2020-09-22T09:30:53Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "anononly": "",
                "nocreate": "",
                "noemail": ""
            },
            {
                "id": 52,
                "user": "Bbbbb",
                "by": "Sarah",
                "timestamp": "2017-07-13T19:43:07Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 50,
                "user": "Aaaaa",
                "by": "Sarah",
                "timestamp": "2017-07-04T22:32:06Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 49,
                "user": "MeredithaslqxorqsqCriqui",
                "by": "Sarah",
                "timestamp": "2012-12-06T06:17:01Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 35,
                "user": "23.23.9.54",
                "by": "Sarah",
                "timestamp": "2012-08-19T18:00:19Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 26,
                "user": "Laudyuda",
                "by": "Sarah",
                "timestamp": "2012-02-26T20:28:10Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 25,
                "user": "Mm1827",
                "by": "Sarah",
                "timestamp": "2011-11-24T22:17:45Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 24,
                "user": "P4level",
                "by": "Sarah",
                "timestamp": "2008-09-01T20:07:46Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 21,
                "user": "Jhhfhhf8",
                "by": "Sarah",
                "timestamp": "2008-08-16T13:30:56Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 19,
                "user": "Geetoolii88",
                "by": "Sarah",
                "timestamp": "2008-08-15T08:52:57Z",
                "expiry": "infinity",
                "duration-l10n": "\u65e0\u9650\u671f",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}