v1

latestSwagger 2.02026-07-13137761.0 MB
Reference entity

Get a reference entity

This endpoint allows you to get the information about a given reference entity.

get/api/rest/v1/reference-entities/{code}

Path parameters

codestring required

Code of the resource

Response

OK

codestring required

Reference entity code

imagestring

Code of the reference entity image

Example response

{
  "_links": {
    "image_download": {
      "href": "https://demo.akeneo.com/api/rest/v1/reference-entities-media-files/0/2/d/6/54d81dc888ba1501a8g765f3ab5797569f3bv756c_ref_img.png"
    }
  },
  "code": "brands",
  "labels": {
    "en_US": "Brands",
    "fr_FR": "Marques"
  },
  "image": "0/2/d/6/54d81dc888ba1501a8g765f3ab5797569f3bv756c_ref_img.png"
}