Api documentation

Api documentation

Find Videos by Style ID

Videos
 
 
v2
 
 

Sample Request

Find Videos for Style with ID 200692674

Basic request

URL

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

Response

{
    "videos": [
        {
            "videoType": "EDITORIAL",
            "tags": [
                "bmw",
                "bmw-4-series",
                "2014-bmw-4-series"
            ],
            "provider": "MODELREVIEWS",
            "sources": [
                {
                    "link": {
                        "rel": "self",
                        "href": "http://video.edmunds.com/57837993001/201402/706/57837993001_3228710722001_2014-bmw-4-series-modelreviews-21914-9998.mp4"
                    },
                    "extension": "MP4",
                    "videoId": 3228720641001,
                    "brightcoveVideoId": 3228720752001
                }
            ]
        }
    ],
    "videosCount": 1,
    "links": [
        {
            "rel": "first",
            "href": "/api/media/v2/styles/200692674/videos?pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
        },
        {
            "rel": "last",
            "href": "/api/media/v2/styles/200692674/videos?pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
        }
    ]
}

Full request

URL

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

Response

{
    "videos": [
        {
            "videoType": "EDITORIAL",
            "tags": [
                "bmw",
                "bmw-4-series",
                "2014-bmw-4-series"
            ],
            "provider": "MODELREVIEWS",
            "uploadDate": 1392859956000,
            "sources": [
                {
                    "link": {
                        "rel": "self",
                        "href": "http://video.edmunds.com/57837993001/201402/706/57837993001_3228710722001_2014-bmw-4-series-modelreviews-21914-9998.mp4"
                    },
                    "extension": "MP4",
                    "videoId": 3228720641001,
                    "brightcoveVideoId": 3228720752001
                }
            ],
            "thumbnails": [
                {
                    "link": {
                        "rel": "self",
                        "href": "/bmw/4-series/2014/ft/2014_bmw_4-series_actf34_ft_1227132_98.jpg"
                    },
                    "extension": "JPG",
                    "size": {
                        "width": 98,
                        "height": 65
                    }
                },
                ...
                {
                    "link": {
                        "rel": "self",
                        "href": "/bmw/4-series/2014/ft/2014_bmw_4-series_actf34_ft_1227132_1280.jpg"
                    },
                    "extension": "JPG",
                    "size": {
                        "width": 1280,
                        "height": 854
                    }
                }
            ]
        }
    ],
    "videosCount": 1,
    "links": [
        {
            "rel": "first",
            "href": "/api/media/v2/styles/200692674/videos?view=full&pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
        },
        {
            "rel": "last",
            "href": "/api/media/v2/styles/200692674/videos?view=full&pagesize=10&pagenum=1&api_key={api_key}&fmt=json"
        }
    ]
}