Web Assets

Download asset file

Download the binary content of an asset file by path, language and version

post/api/v1/assets/_download

Request body

assetPathstring required

Full path to the asset (file or folder) including site and folder structure. Folders must end-up with /

languagestring

Language identifier for the asset. Uses system default language if not specified

liveboolean

Whether to retrieve the live version (true) or working version (false) of the asset

Example request

{
  "assetPath": "//demo.dotcms.com/application/containers/default/banner.vtl",
  "language": "en-US"
}

Response

Asset file download started successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.