Media
Returns detailed information about various media objects used throughout the site.
GET /media/images/{imageid/GUID}
Returns detailed information about an image.
Route Parameters
- imageid — Required — integer
-
The imageid of the image to return. Can also be a string GUID.
Response
Status: 200 OK
{ "image": { "id": 57167, "mini": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.mini", "thumbnail": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.thumbnail", "standard": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.standard", "medium": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.medium", "large": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.large", "huge": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL.huge", "original": "https:\/\/www.ifixit.com\/igi\/xLSDRaSJokjGndFL" }, "srcid": null, "width": 2420, "height": 1815, "ratio": "FOUR_THREE", "markup": null, "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": "\u0001" } }
GET /media/videos/{videoid/GUID}
Returns detailed information about a video.
Route Parameters
- videoid — Required — integer
-
The videoid of the video to return. Can also be a string GUID.
Response
Status: 200 OK
{ "duration": 15597, "encodings": [ { "codecs": "avc1.640029, mp4a.40.2", "format": "mp4", "height": 444, "max_video_bitrate": 1500, "mime": "video\/mp4", "url": "https:\/\/ifixit-guide-objects.s3.amazonaws.com\/igo\/video\/ifixit\/oYNJTk3IASAZf2py_MP4_592.mp4", "width": 592 }, { "codecs": "avc1.640029, mp4a.40.2", "format": "mp4", "height": 480, "mime": "video\/mp4", "url": "https:\/\/ifixit-guide-objects.s3.amazonaws.com\/igo\/video\/ifixit\/oYNJTk3IASAZf2py_MP4_720.mp4", "width": 720 }, { "codecs": "vp8, vorbis", "format": "webm", "height": 444, "mime": "video\/webm", "url": "https:\/\/ifixit-guide-objects.s3.amazonaws.com\/igo\/video\/ifixit\/oYNJTk3IASAZf2py_WEBM.webm", "width": 592 }, { "codecs": "vp8, vorbis", "format": "ogg", "height": 444, "mime": "video\/ogg", "url": "https:\/\/ifixit-guide-objects.s3.amazonaws.com\/igo\/video\/ifixit\/oYNJTk3IASAZf2py_OGG.ogg", "width": 592 } ], "filename": "IMG_1184.mov", "height": 180, "image": { "exif": [], "height": 180, "image": { "id": 226142, "medium": "https:\/\/www.ifixit.com\/igi\/Iw5FnVANM5GNvJPb.medium", "mini": "https:\/\/www.ifixit.com\/igi\/Iw5FnVANM5GNvJPb.mini", "original": "https:\/\/www.ifixit.com\/igi\/Iw5FnVANM5GNvJPb", "standard": "https:\/\/www.ifixit.com\/igi\/Iw5FnVANM5GNvJPb.standard", "thumbnail": "https:\/\/www.ifixit.com\/igi\/Iw5FnVANM5GNvJPb.thumbnail" }, "markup": null, "ratio": "VARIABLE", "srcid": null, "width": 320 }, "meta": { "audio_bitrate_in_kbps": 24, "audio_codec": "aac", "audio_sample_rate": 22050, "channels": "1", "duration_in_ms": 15597, "file_size_in_bytes": 858049, "format": "mpeg4", "frame_rate": 30, "height": 180, "id": 39402255, "md5_checksum": null, "state": "finished", "total_bitrate_in_kbps": 436, "video_bitrate_in_kbps": 412, "video_codec": "h264", "width": 320 }, "srcid": null, "videoid": 2, "width": 320 }