MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 11,
                "user": "1558",
                "by": "Margotbean",
                "timestamp": "2024-05-05T18:50:03Z",
                "expiry": "infinity",
                "reason": "vandalism",
                "nocreate": "",
                "autoblock": "",
                "noemail": ""
            },
            {
                "id": 10,
                "user": "\u7b2c\u4e8c\u4e2a\u71ba",
                "by": "Margotbean",
                "timestamp": "2024-05-01T16:39:21Z",
                "expiry": "infinity",
                "reason": "",
                "allowusertalk": "",
                "partial": ""
            },
            {
                "id": 6,
                "user": "\u67d0\u9e39\u8c94",
                "by": "Margotbean",
                "timestamp": "2024-02-06T20:09:22Z",
                "expiry": "infinity",
                "reason": "\u4e0d\u80fd\u63a5\u53d7\u7684\u7528\u6237\u540d",
                "nocreate": "",
                "noemail": ""
            },
            {
                "id": 5,
                "user": "Horizon Bot",
                "by": "Margotbean",
                "timestamp": "2023-02-24T22:10:19Z",
                "expiry": "infinity",
                "reason": "Inactive for over a year, does not meet current criteria for bot account",
                "nocreate": "",
                "allowusertalk": ""
            }
        ]
    }
}