Skip to the content
Documentation

download

No ratings yet
Summary

Provides an interface for downloading files stored by the "File" datatype.

View Parameters:
Name Is Ordered? Description Example use
ContentObjectID Yes. Specifies the Content Object ID of the file to download. REQUIRED. /content/download /[ContentObjectID] /[ContentObjectAttributeID] /version/[Version] /file/[file_name]
ContentObjectAttributeID Yes. Specifies the Content Object Attribute ID of the file to download. REQUIRED. /content/download /[ContentObjectID] /[ContentObjectAttributeID] /version/[Version] /file/[file_name]
Version Yes. Specifies the Version ID of the Content Object to get content from. Please be aware that not using this parameter may cause cache issues. REQUIRED. /content/download /[ContentObjectID] /[ContentObjectAttributeID] /version/[Version] /file/[file_name]
File Yes. Specifies the name of the file, which will be used bu the browser to save the file. Please be aware that not using this parameter may cause issues with the browser, when trying to save the file. REQUIRED. /content/download /[ContentObjectID] /[ContentObjectAttributeID] /version/[Version] /file/[file_name]

Changed in Exponential 6.0.15

The view parameters of content/download as kernel/content/module.php of Exponential 6.0.15 defines them:

Parameter Change
File Not a parameter of content/download in kernel/content/module.php of 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.