MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json。
{
"batchcomplete": "",
"query": {
"normalized": [
{
"from": "Category:Foo",
"to": "\u5206\u985e:Foo"
},
{
"from": "Category:Bar",
"to": "\u5206\u985e:Bar"
}
],
"pages": {
"-1": {
"ns": 14,
"title": "\u5206\u985e:Foo",
"missing": ""
},
"-2": {
"ns": 14,
"title": "\u5206\u985e:Bar",
"missing": ""
}
}
}
}