MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 2,
                "user": "103.207.2.131",
                "by": "Shen",
                "timestamp": "2024-08-21T05:25:00Z",
                "expiry": "infinity",
                "reason": "",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 1,
                "user": "Test",
                "by": "Shen",
                "timestamp": "2024-07-30T00:25:22Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}