v1

latestSwagger 2.02026-07-13137761.0 MB
PAM asset variation file

Get a variation file

This endpoint allows you to get the information about a variation file of a given PAM asset.

get/api/rest/v1/assets/{asset_code}/variation-files/{channel_code}/{locale_code}

Path parameters

asset_codestring required

Code of the asset

channel_codestring required

Code of the channel

locale_codestring required

Code of the locale if the asset is localizable or equal to no-locale if the asset is not localizable

Response

OK

codestring

Code of the PAM asset variation file

localestring

Locale of the PAM asset variation file, equal to null if the asset is not localizable

scopestring

Channel of the PAM asset variation file

Example response

{
  "code": "7/5/8/e/758e39d48va7b42a55001434fd3d7b6cf3189b7f_tshirt_artemis_main_picture_ecommerce.jpg",
  "locale": null,
  "scope": "ecommerce",
  "_link": {
    "download": {
      "href": "https://demo.akeneo.com/api/rest/v1/assets/tshirt_artemis_main_picture/variation-files/ecommerce/no_locale/download"
    }
  }
}