v1
latestSwagger 2.02026-07-13137761.0 MBProduct media file
Get a product media file
This endpoint allows you to get the information about a given media file that is used as an attribute value of a product or a product model.
get/api/rest/v1/media-files/{code}
Path parameters
codestring required
Code of the resource
Response
OK
Example response
{
"_links": {
"download": {
"href": "https://demo.akeneo.com/api/rest/v1/media-files/7/5/8/e/758e39d48ea7b42a55091434fd3d8b6cf3189b7f_10806799_1356.jpg/download"
}
},
"code": "7/5/8/e/758e39d48ea7b42a55091434fd3d8b6cf3189b7f_10806799_1356.jpg",
"original_filename": "10806799-1356.jpg",
"mime_type": "image/jpeg",
"size": 16070,
"extension": "jpg"
}