MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20210404050707|21",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 65,
                "user": "9326977",
                "by": "256392549",
                "timestamp": "2023-05-25T01:30:42Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u65e0\u610f\u4e49\u6587\u5b57\uff1a\u5783\u573e\u4fe1\u606f",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 58,
                "user": "155788210",
                "by": "588533",
                "timestamp": "2022-06-02T13:34:25Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 54,
                "user": "1040255826",
                "by": "256392549",
                "timestamp": "2022-05-26T15:52:02Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 46,
                "user": "404201472",
                "by": "40300897",
                "timestamp": "2021-12-27T13:46:23Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 44,
                "user": "39009027",
                "by": "2017271",
                "timestamp": "2021-12-27T13:11:14Z",
                "expiry": "infinity",
                "reason": "\u79fb\u9664\u9875\u9762\u5185\u5bb9\uff1a\u4f60\u5988\u662f\u4e0d\u662f\u8be5\u6b7b\u554a",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 40,
                "user": "254118686",
                "by": "588533",
                "timestamp": "2021-10-21T13:24:55Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 37,
                "user": "238256232",
                "by": "588533",
                "timestamp": "2021-10-07T05:39:10Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 35,
                "user": "449989590",
                "by": "52150",
                "timestamp": "2021-10-03T14:37:06Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 33,
                "user": "1899018",
                "by": "256392549",
                "timestamp": "2021-06-25T18:31:39Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 24,
                "user": "30071098",
                "by": "52150",
                "timestamp": "2021-05-07T09:53:07Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}