v1

latestSwagger 2.02026-07-13137761.0 MB
Asset

Get an asset of a given asset family

This endpoint allows you to get the information about a given asset for a given asset family. This endpoint is case sensitive on the asset family code.

get/api/rest/v1/asset-families/{asset_family_code}/assets/{code}

Path parameters

asset_family_codestring required

Code of the asset family

codestring required

Code of the resource

Response

OK

codestring required

Code of the asset

asset_family_codestring

Code of the asset family

valuesobject

Asset attributes values, see the <a href='/concepts/asset-manager.html#focus-on-the-asset-values'>Focus on the asset values</a> section for more details.

createdstring dateTime

Date of creation

updatedstring dateTime

Date of the last update

Example response

{
  "code": "sku_54628_picture1",
  "values": {
    "media_preview": [
      {
        "locale": null,
        "channel": null,
        "data": "sku_54628_picture1.jpg"
      }
    ],
    "model_wears_size": [
      {
        "locale": null,
        "channel": null,
        "data": "s"
      }
    ],
    "photographer": [
      {
        "locale": null,
        "channel": null,
        "data": "ben_levy"
      }
    ],
    "main_colors": [
      {
        "locale": null,
        "channel": null,
        "data": [
          "red",
          "purple"
        ]
      }
    ],
    "end_of_use_date": [
      {
        "locale": null,
        "channel": null,
        "data": "02/03/2021"
      }
    ]
  },
  "created": "2021-05-31T09:23:34+00:00",
  "updated": "2021-05-31T09:23:34+00:00"
}