MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20210526100218|29361",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 29943,
                "user": "Laughbucket7",
                "by": "Admin",
                "timestamp": "2022-06-14T19:59:40Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29370,
                "user": "Debt05men",
                "by": "Admin",
                "timestamp": "2021-05-26T10:03:11Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29369,
                "user": "Ping80cousin",
                "by": "Admin",
                "timestamp": "2021-05-26T10:03:06Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29368,
                "user": "Farm7hip",
                "by": "Admin",
                "timestamp": "2021-05-26T10:03:01Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29367,
                "user": "Health4sunday",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:55Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29366,
                "user": "Fireddance58",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:44Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29365,
                "user": "Firedrecess88",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:39Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29364,
                "user": "Pikelier54",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:34Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29363,
                "user": "Franceeast5",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:29Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 29362,
                "user": "Zephyr9seeder",
                "by": "Admin",
                "timestamp": "2021-05-26T10:02:23Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}