MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 4,
                "user": "MediaWiki default",
                "by": "Lilauid",
                "timestamp": "2025-05-08T08:18:05Z",
                "expiry": "infinity",
                "reason": "\u4f7f\u7528\u4e0d\u53d7\u6b61\u8fce\u7684\u4f7f\u7528\u8005\u540d\u7a31",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 3,
                "user": "221.216.135.119",
                "by": "Lilauid",
                "timestamp": "2025-03-15T15:58:23Z",
                "expiry": "infinity",
                "reason": "\u522a\u9664\u9801\u9762\u5167\u5bb9",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 2,
                "user": "43.206.161.58",
                "by": "Lilauid",
                "timestamp": "2025-03-15T15:57:58Z",
                "expiry": "infinity",
                "reason": "\u522a\u9664\u9801\u9762\u5167\u5bb9",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 1,
                "user": "123.113.106.71",
                "by": "Lilauid",
                "timestamp": "2025-03-15T15:57:35Z",
                "expiry": "infinity",
                "reason": "\u522a\u9664\u9801\u9762\u5167\u5bb9",
                "nocreate": "",
                "allowusertalk": ""
            }
        ]
    }
}