Api documentation

Api documentation

Find Photos by Style ID

Photos
 
 
v2 v1
 
 

Sample Request

Find Photos for Style with ID 200692674

Basic request

URL

  1. https://api.edmunds.com/api/media/v2/styles/200692674/photos?api_key={api_key}&fmt=json

Response

  1. {
  2. "photos": [
  3. {
  4. "title": "2014 BMW 4 Series 435i Coupe Exterior",
  5. "category": "EXTERIOR",
  6. "tags": [
  7. "bmw",
  8. "bmw-4-series",
  9. "2014-bmw-4-series"
  10. ],
  11. "provider": "OEM",
  12. "sources": [
  13. {
  14. "link": {
  15. "rel": "self",
  16. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_fq_oem_2_98.jpg"
  17. },
  18. "extension": "JPG",
  19. "size": {
  20. "width": 98,
  21. "height": 65
  22. },
  23. },
  24. ...
  25. {
  26. "link": {
  27. "rel": "self",
  28. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_fq_oem_2_1280.jpg"
  29. },
  30. "extension": "JPG",
  31. "size": {
  32. "width": 1280,
  33. "height": 854
  34. }
  35. }
  36. ],
  37. "color": "Mineral Grey Metallic",
  38. "submodels": [
  39. "4 Series Coupe"
  40. ],
  41. "shotTypeAbbreviation": "FQ"
  42. },
  43. ...
  44. {
  45. "title": "2014 BMW 4 Series 435i Coupe Cupholders",
  46. "category": "INTERIOR",
  47. "tags": [
  48. "bmw",
  49. "bmw-4-series",
  50. "2014-bmw-4-series"
  51. ],
  52. "provider": "OEM",
  53. "sources": [
  54. {
  55. "link": {
  56. "rel": "self",
  57. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_cup_oem_1_98.jpg"
  58. },
  59. "extension": "JPG",
  60. "size": {
  61. "width": 98,
  62. "height": 65
  63. }
  64. },
  65. ...
  66. ],
  67. "color": "Mineral Grey Metallic",
  68. "submodels": [
  69. "4 Series Coupe"
  70. ],
  71. "shotTypeAbbreviation": "CUP"
  72. }
  73. ],
  74. "photosCount": 285,
  75. "links": [
  76. {
  77. "rel": "first",
  78. "href": "/api/media/v2/styles/200692674/photos?pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
  79. },
  80. {
  81. "rel": "next",
  82. "href": "/api/media/v2/styles/200692674/photos?pagesize=10&pagenum=2&api_key={api_key}&fmt=json"
  83. },
  84. {
  85. "rel": "last",
  86. "href": "/api/media/v2/styles/200692674/photos?pagesize=10&pagenum=29&api_key={api_key}&fmt=json"
  87. }
  88. ]
  89. }

Full request

URL

  1. https://api.edmunds.com/api/media/v2/styles/200692674/photos?view=full&api_key={api_key}&fmt=json

Response

  1. {
  2. "photos": [
  3. {
  4. "title": "2014 BMW 4 Series 435i Coupe Exterior",
  5. "category": "EXTERIOR",
  6. "tags": [
  7. "bmw",
  8. "bmw-4-series",
  9. "2014-bmw-4-series"
  10. ],
  11. "provider": "OEM",
  12. "uploadDate": 1375899187000,
  13. "sources": [
  14. {
  15. "link": {
  16. "rel": "self",
  17. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_fq_oem_2_98.jpg"
  18. },
  19. "extension": "JPG",
  20. "size": {
  21. "width": 98,
  22. "height": 65
  23. },
  24. },
  25. ...
  26. {
  27. "link": {
  28. "rel": "self",
  29. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_fq_oem_2_1280.jpg"
  30. },
  31. "extension": "JPG",
  32. "size": {
  33. "width": 1280,
  34. "height": 854
  35. }
  36. }
  37. ],
  38. "color": "Mineral Grey Metallic",
  39. "submodels": [
  40. "4 Series Coupe"
  41. ],
  42. "shotTypeAbbreviation": "FQ",
  43. "vdpOrder": 2,
  44. "authors": [
  45. "BMW North America, Inc."
  46. ],
  47. "originalSize": {
  48. "width": 2400,
  49. "height": 1600
  50. }
  51. },
  52. ...
  53. {
  54. "title": "2014 BMW 4 Series 435i Coupe Exterior",
  55. "category": "EXTERIOR",
  56. "tags": [
  57. "bmw",
  58. "bmw-4-series",
  59. "2014-bmw-4-series"
  60. ],
  61. "provider": "OEM",
  62. "uploadDate": 1375899182000,
  63. "sources": [
  64. {
  65. "link": {
  66. "rel": "self",
  67. "href": "/bmw/4-series/2014/oem/2014_bmw_4-series_coupe_435i_fq_oem_1_98.jpg"
  68. },
  69. "extension": "JPG",
  70. "size": {
  71. "width": 98,
  72. "height": 65
  73. }
  74. },
  75. ...
  76. ],
  77. "color": "Mineral Grey Metallic",
  78. "submodels": [
  79. "4 Series Coupe"
  80. ],
  81. "shotTypeAbbreviation": "FQ",
  82. "vdpOrder": 1,
  83. "authors": [
  84. "BMW North America, Inc."
  85. ],
  86. "originalSize": {
  87. "width": 2400,
  88. "height": 1600
  89. }
  90. }
  91. ],
  92. "photosCount": 285,
  93. "links": [
  94. {
  95. "rel": "first",
  96. "href": "/api/media/v2/styles/200692674/photos?view=full&pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
  97. },
  98. {
  99. "rel": "next",
  100. "href": "/api/media/v2/styles/200692674/photos?view=full&pagesize=10&pagenum=2&api_key={api_key}&fmt=json"
  101. },
  102. {
  103. "rel": "last",
  104. "href": "/api/media/v2/styles/200692674/photos?view=full&pagesize=10&pagenum=29&api_key={api_key}&fmt=json"
  105. }
  106. ]
  107. }