Optional
Response format. json returns the media object. redirect responds with a 302 redirect to the media's download URL, so you can use this endpoint directly as the source of an image or video.
json
redirect
302
ID of the media that you want to get.
Response format.
jsonreturns the media object.redirectresponds with a302redirect to the media's download URL, so you can use this endpoint directly as the source of an image or video.