API Endpoint: Describe Image
Returns information about an image. URIs for available sizes can be constructed by appending '.size' to base_url, e.g.:
http://www.ifixit.com/igi/xLSDRaSJokjGndFL.medium
Request
GET /api/1.0/image/{imageid} Route Parameters
| imageid | Required. Integer. The imageid of the image to retrieve. |
GET Parameters
| jsonp | Optional. String. The name of a Javascript function to call with the results. See JSONP. |
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | {
"imageid": 57167,
"srcid": null,
"width": 2420,
"height": 1815,
"base_url": "http://www.ifixit.com/igi/xLSDRaSJokjGndFL",
"sizes": [
"mini",
"thumbnail",
"standard",
"medium",
"large",
"huge"
],
"exif": {
"FileName": "new4iPhone5.jpg",
"FileDateTime": 1277322245,
"FileSize": 724904,
"FileType": 2,
"MimeType": "image/jpeg",
"SectionsFound": "APP12",
"COMPUTED": {
"html": "width=\"2420\" height=\"1815\"",
"Height": 1815,
"Width": 2420,
"IsColor": 1
},
"Company": "Ducky",
"Info": ""
},
"references": {
"guides": [
3140
],
"wikis": [
],
"posts": [
]
}
}
|