MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"allimages": [
{
"name": "Bahai_garden.jpg",
"timestamp": "2010-04-07T13:36:39Z",
"url": "https://bahaipedia.s3.amazonaws.com/5/52/Bahai_garden.jpg",
"descriptionurl": "https://zh.bahaipedia.org/File:Bahai_garden.jpg",
"descriptionshorturl": "https://zh.bahaipedia.org/index.php?curid=273",
"ns": 6,
"title": "File:Bahai garden.jpg"
},
{
"name": "House_of_the_bab.jpg",
"timestamp": "2008-09-09T04:12:49Z",
"url": "https://bahaipedia.s3.amazonaws.com/7/7d/House_of_the_bab.jpg",
"descriptionurl": "https://zh.bahaipedia.org/File:House_of_the_bab.jpg",
"descriptionshorturl": "https://zh.bahaipedia.org/index.php?curid=205",
"ns": 6,
"title": "File:House of the bab.jpg"
},
{
"name": "Lab-Temple-Market-low.jpg",
"timestamp": "2012-06-09T02:51:20Z",
"url": "https://bahaipedia.s3.amazonaws.com/6/67/Lab-Temple-Market-low.jpg",
"descriptionurl": "https://zh.bahaipedia.org/File:Lab-Temple-Market-low.jpg",
"descriptionshorturl": "https://zh.bahaipedia.org/index.php?curid=281",
"ns": 6,
"title": "File:Lab-Temple-Market-low.jpg"
},
{
"name": "Tablet.jpg",
"timestamp": "2010-04-07T13:53:20Z",
"url": "https://bahaipedia.s3.amazonaws.com/4/4f/Tablet.jpg",
"descriptionurl": "https://zh.bahaipedia.org/File:Tablet.jpg",
"descriptionshorturl": "https://zh.bahaipedia.org/index.php?curid=274",
"ns": 6,
"title": "File:Tablet.jpg"
}
]
}
}