MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"pages": {
"-1": {
"ns": 0,
"title": "API",
"missing": ""
},
"17": {
"pageid": 17,
"ns": 0,
"title": "Main Page",
"revisions": [
{
"user": "Z135793",
"timestamp": "2010-10-09T03:54:06Z",
"slots": {
"main": {
"contentmodel": "wikitext",
"contentformat": "text/x-wiki",
"*": "#REDIRECT [[\u9996\u9801]]"
}
},
"comment": "\u6b63\u5728\u91cd\u5b9a\u5411\u5230 [[\u9996\u9801]]"
}
]
}
}
}
}