MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json。
{ "batchcomplete": "", "query": { "blocks": [ { "id": 168, "user": "Zxcvbnm", "by": "Petercpg", "timestamp": "2012-11-07T13:45:04Z", "expiry": "infinity", "reason": "Spam", "nocreate": "", "noemail": "" }, { "id": 127, "user": "AdrianMonky", "by": "Twhk2011", "timestamp": "2010-07-26T03:21:37Z", "expiry": "2038-06-14T07:21:37Z", "reason": "spam", "autoblock": "", "allowusertalk": "" }, { "id": 123, "user": "LeeWani", "by": "Twhk2011", "timestamp": "2010-07-26T03:07:47Z", "expiry": "8348-04-23T15:07:47Z", "reason": "spam", "autoblock": "", "allowusertalk": "" }, { "id": 63, "user": "Homerhendelbergenheinzel", "by": "BobChao", "timestamp": "2006-10-18T20:05:33Z", "expiry": "2034-03-05T20:05:33Z", "reason": "bye spammer", "autoblock": "", "allowusertalk": "" } ] } }