v1

latestSwagger 2.02026-07-13137761.0 MB
PAM asset reference file

Get a reference file

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

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

Path parameters

asset_codestring required

Code of the asset

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 reference file

localestring

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

Example response

{
  "code": "7/5/8/e/759e39d48va7b42a55002434fd3d7b6cf3189b7f_tshirt_artemis_main_picture.jpg",
  "locale": null,
  "_link": {
    "download": {
      "href": "https://demo.akeneo.com/api/rest/v1/assets/tshirt_artemis_main_picture/reference-files/no_locale/download"
    }
  }
}