Get list of asset families
GET
/api/rest/v1/asset-families
Asset family
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/asset-families'
Response Response Example
200 - Example 1
{
"_links": {
"first": {
"href": "string"
},
"next": {
"href": "string"
},
"self": {
"href": "string"
}
},
"_embedded": {
"items": [
{
"_links": {
"self": {
"href": "string"
}
},
"attribute_as_main_media": "main_image",
"code": "model_pictures",
"labels": {
"en_US": "Model pictures",
"fr_FR": "Photographies en pied"
},
"naming_convention": {
"abort_asset_creation_on_error": true,
"pattern": "/(?P<product_ref>.*)-.*/",
"source": {
"channel": null,
"locale": null,
"property": "code"
}
},
"product_link_rules": [
{
"assign_assets_to": [
{
"attribute": "model_pictures",
"mode": "replace"
}
],
"product_selections": [
{
"field": "sku",
"operator": "EQUALS",
"value": "{{product_ref}}"
}
]
}
],
"transformations": [
{
"filename_suffix": "_thumbnailBW",
"label": "Thumbnail plus black and white transformation",
"operations": [
{
"parameters": {
"height": 150,
"width": 150
},
"type": "thumbnail"
},
{
"parameters": {
"colorspace": "grey"
},
"type": "colorspace"
}
],
"source": {
"attribute": "main_image",
"channel": null,
"locale": null
},
"target": {
"attribute": "thumbnail",
"channel": null,
"locale": null
}
}
]
}
]
}
}
Request
Query Params
search_after
stringÂ
optional
search_after
pagination method type. Should never be set manually, see Pagination sectionResponses
Modified at 2023-08-15 05:53:55