MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"continue": {
"gaicontinue": "Trac-Subtickets.png",
"continue": "gaicontinue||"
},
"query": {
"pages": {
"292": {
"pageid": 292,
"ns": 6,
"title": "File:Template-X.svg",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2019-12-31T10:35:38Z",
"user": "Gslin"
}
]
},
"86": {
"pageid": 86,
"ns": 6,
"title": "File:Test Template Info-Icon - Version (2).svg",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2018-02-05T13:08:10Z",
"user": "Gslin"
}
]
},
"220": {
"pageid": 220,
"ns": 6,
"title": "File:Trac-New-Ticket.png",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2018-04-27T05:52:33Z",
"user": "Gslin"
}
]
},
"219": {
"pageid": 219,
"ns": 6,
"title": "File:Trac-Report-My-Tickets.png",
"imagerepository": "local",
"imageinfo": [
{
"timestamp": "2018-04-27T05:38:21Z",
"user": "Gslin"
}
]
}
}
}
}