MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 12,
                "user": "Sb",
                "by": "Admin",
                "timestamp": "2011-11-20T15:05:57Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 10,
                "user": "Agnesbkbic",
                "by": "Admin",
                "timestamp": "2011-11-20T15:03:23Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 8,
                "user": "Luellahfku",
                "by": "Admin",
                "timestamp": "2011-09-21T03:56:10Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "nocreate": "",
                "autoblock": ""
            },
            {
                "id": 7,
                "user": "DeaYeasf",
                "by": "Admin",
                "timestamp": "2010-08-15T07:34:42Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 6,
                "user": "JackKangqi88",
                "by": "Admin",
                "timestamp": "2008-12-11T15:30:49Z",
                "expiry": "infinity",
                "reason": "Spamming!",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 5,
                "user": "Flowexpo",
                "by": "Admin",
                "timestamp": "2008-10-12T15:47:38Z",
                "expiry": "infinity",
                "reason": "\u5ee3\u544aspamming",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 4,
                "user": "Xinyuyejin",
                "by": "Admin",
                "timestamp": "2008-10-12T15:46:06Z",
                "expiry": "infinity",
                "reason": "\u5ee3\u544aspamming",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 3,
                "user": "Www.ab666.cn",
                "by": "Admin",
                "timestamp": "2007-08-27T01:45:59Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 2,
                "user": "Rrokuryook",
                "by": "Admin",
                "timestamp": "2007-08-27T01:45:18Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 1,
                "user": "Lxwltg88",
                "by": "Admin",
                "timestamp": "2007-08-27T01:44:41Z",
                "expiry": "infinity",
                "reason": "Spamming",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}