MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"gaicontinue": "ItemSprite_player-head.png",
"continue": "gaicontinue||"
},
"query": {
"pages": {
"298": {
"pageid": 298,
"ns": 6,
"title": "File:BlockSprite banner.png"
},
"299": {
"pageid": 299,
"ns": 6,
"title": "File:BlockSprite beacon.png"
},
"300": {
"pageid": 300,
"ns": 6,
"title": "File:BlockSprite bricks.png"
},
"305": {
"pageid": 305,
"ns": 6,
"title": "File:BlockSprite command-block.gif"
},
"302": {
"pageid": 302,
"ns": 6,
"title": "File:BlockSprite crafting-table.png"
},
"322": {
"pageid": 322,
"ns": 6,
"title": "File:Book and Quill.png"
},
"324": {
"pageid": 324,
"ns": 6,
"title": "File:Clock.gif"
},
"301": {
"pageid": 301,
"ns": 6,
"title": "File:ItemSprite book.png"
},
"304": {
"pageid": 304,
"ns": 6,
"title": "File:ItemSprite debug-stick.gif"
},
"306": {
"pageid": 306,
"ns": 6,
"title": "File:ItemSprite filled-map.png"
}
}
}
}