v1

latestSwagger 2.02026-07-13137761.0 MB
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}

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