MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"bkcontinue": "20120215005906|65",
"continue": "-||"
},
"query": {
"blocks": [
{
"id": 85,
"user": "Amitiobselilt",
"by": "Tropicalo",
"timestamp": "2018-10-03T01:42:52Z",
"expiry": "infinity",
"reason": "\u4e0d\u80fd\u63a5\u53d7\u7684\u4f7f\u7528\u8005\u540d",
"nocreate": "",
"autoblock": ""
},
{
"id": 83,
"user": "Nilsnep",
"by": "Tropicalo",
"timestamp": "2012-02-17T11:43:17Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 81,
"user": "Mercnar",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:52Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 79,
"user": "Jamaemil",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:49Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 77,
"user": "Baberaw",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:45Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 75,
"user": "Elladear",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:31Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 73,
"user": "Kalecha",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:27Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 71,
"user": "Reaench",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:24Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 69,
"user": "Lillbenn",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:15Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
},
{
"id": 67,
"user": "Elodeliz",
"by": "Tropicalo",
"timestamp": "2012-02-15T00:59:11Z",
"expiry": "infinity",
"reason": "",
"nocreate": "",
"autoblock": ""
}
]
}
}