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}

Request

  • Base URL
    http://demo.akeneo.com
  • Auth
    none declared

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"
    }
  }
}

Changes

No recorded changes to this operation across all 70 revisions of this API.