MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 6,
                "user": "1528881308",
                "by": "394339",
                "timestamp": "2024-03-18T02:54:42Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 5,
                "user": "344778629",
                "by": "394339",
                "timestamp": "2023-03-30T08:20:32Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 4,
                "user": "256661331",
                "by": "3570506",
                "timestamp": "2021-09-03T02:39:10Z",
                "expiry": "infinity",
                "reason": "\u63d2\u5165\u865a\u5047\u4fe1\u606f",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 3,
                "user": "444934754",
                "by": "9388102",
                "timestamp": "2021-06-28T03:42:28Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 2,
                "user": "25306259",
                "by": "9388102",
                "timestamp": "2021-06-28T03:40:40Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "allowusertalk": ""
            }
        ]
    }
}