MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20070824154216|1",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 11,
                "user": "93.182.37.1",
                "by": "JoeHorn",
                "timestamp": "2011-05-23T08:21:54Z",
                "expiry": "infinity",
                "reason": "",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 10,
                "user": "193.48.0.3",
                "by": "JoeHorn",
                "timestamp": "2011-05-23T08:21:39Z",
                "expiry": "infinity",
                "reason": "",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 9,
                "user": "190.58.154.130",
                "by": "JoeHorn",
                "timestamp": "2011-05-23T08:21:22Z",
                "expiry": "infinity",
                "reason": "",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 8,
                "user": "174.121.62.194",
                "by": "JoeHorn",
                "timestamp": "2011-05-23T08:21:07Z",
                "expiry": "infinity",
                "reason": "",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 7,
                "user": "91.214.45.223",
                "by": "JoeHorn",
                "timestamp": "2010-09-05T13:32:19Z",
                "expiry": "infinity",
                "reason": "\u5916\u90e8\u9023\u7d50\u5ee3\u544a",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 6,
                "user": "79.142.65.199",
                "by": "JoeHorn",
                "timestamp": "2010-09-05T13:31:18Z",
                "expiry": "infinity",
                "reason": "\u5916\u90e8\u9023\u7d50\u5ee3\u544a",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 5,
                "user": "79.142.65.159",
                "by": "JoeHorn",
                "timestamp": "2010-09-03T03:13:18Z",
                "expiry": "infinity",
                "reason": "\u5916\u90e8\u9023\u7d50\u5ee3\u544a",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 4,
                "user": "213.5.70.184",
                "by": "JoeHorn",
                "timestamp": "2010-09-03T03:12:51Z",
                "expiry": "infinity",
                "reason": "\u5916\u90e8\u9023\u7d50\u5ee3\u544a",
                "anononly": "",
                "nocreate": ""
            },
            {
                "id": 3,
                "user": "60.21.69.129",
                "by": "JoeHorn",
                "timestamp": "2007-08-26T18:07:30Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 2,
                "user": "121.69.90.24",
                "by": "JoeHorn",
                "timestamp": "2007-08-26T18:07:02Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "allowusertalk": ""
            }
        ]
    }
}