MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"gaicontinue": "YesCheck_BlueLinear.svg.png",
"continue": "gaicontinue||"
},
"query": {
"pages": {
"320": {
"pageid": 320,
"ns": 6,
"title": "\u6a94\u6848:Template-info.svg",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2011-01-09T05:23:39Z",
"user": "Yyaootw"
}
]
},
"18": {
"pageid": 18,
"ns": 6,
"title": "\u6a94\u6848:Wiki.png",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2010-10-09T03:57:23Z",
"user": "Z135793"
}
]
},
"312": {
"pageid": 312,
"ns": 6,
"title": "\u6a94\u6848:Wikispecies-logo.svg",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2011-01-08T17:39:15Z",
"user": "Z135793"
}
]
},
"431": {
"pageid": 431,
"ns": 6,
"title": "\u6a94\u6848:YesCheck BlueLinear.svg",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2011-03-01T13:42:41Z",
"user": "Z135793"
}
]
}
}
}
}