MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"pages": {
"1": {
"pageid": 1,
"ns": 0,
"title": "Main Page",
"images": [
{
"ns": 6,
"title": "File:CoC2 Logo BuntCake.png"
},
{
"ns": 6,
"title": "File:Icon-CLS-BM.png"
},
{
"ns": 6,
"title": "File:Icon-CLS-CM.png"
},
{
"ns": 6,
"title": "File:Icon-CLS-TF.png"
},
{
"ns": 6,
"title": "File:Icon-CLS-WM.png"
},
{
"ns": 6,
"title": "File:Icon-CLS-WR.png"
}
]
}
}
}
}