Get a list of product media files
GET
/api/rest/v1/media-files
Product media file
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/media-files'
Response Response Example
200 - Example 1
{
"_links": {
"first": {
"href": "string"
},
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"current_page": 0,
"_embedded": {
"items": [
{
"_links": {
"download": {
"href": "string"
},
"self": {
"href": "string"
}
},
"code": "7/5/8/e/758e39d48ea7b42a55091434fd3d8b6cf3189b7f_10806799_1356.jpg",
"extension": "jpg",
"mime_type": "image/jpeg",
"original_filename": "10806799-1356.jpg",
"size": 16070
}
]
}
}
Request
Query Params
page
integerÂ
optional
page
pagination method type. Should never be set manually, see Pagination sectionlimit
integerÂ
optional
with_count
stringÂ
optional
Responses
Modified at 2023-08-15 05:53:55