PAM asset reference file

Upload a new reference file

This endpoint allows you to upload a new reference file for a given PAM asset and locale. It will also automatically generate all the variation files corresponding to this reference file.

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

Request

  • Base URL
    http://demo.akeneo.com
  • Auth
    none declared. Required headers: Content-type

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

Headers

Content-typestring required

Equal to 'multipart/form-data', no other value allowed

Request body

filestring binary required

The binaries of the file

Response

Uploaded

messagestring

Message explaining the warning

Changes

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