How to call the CQ5 API AssetDownloadService | Community
Skip to main content
Oct 16, 2015 2:29 AM UTC
Solved

How to call the CQ5 API AssetDownloadService

I want to use this API to download files from AEM, but i don't know how to call it? Is it a webservice or other Remote Functionality?

Anyone knonw the details?

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Is your use case to write a custom CQ servlet or OSGi service that lets apps download DAM assets?  http://helpx.adobe.com/experience-manager/using/downloading-dam-assets.html

2 replies

DhirajAg
Level 4
Oct 2, 2018 9:29 PM UTC

How about just using the AEM OOTB assetdownload.zip servlet

for example a post call like below

POST /content/dam.assetdownload.zip/abc.zip

with below parameters

path=%2Fcontent%2Fdam%2Fsample1.png

path=%2Fcontent%2Fdam%2Fsample2.png

path=%2Fcontent%2Fdam%2Fsample3.png

_charset_=utf-8

downloadAssets=true

licenseCheck=true

flatStructure=true

downloadRenditions=false

downloadSubassets=false

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Is your use case to write a custom CQ servlet or OSGi service that lets apps download DAM assets?  http://helpx.adobe.com/experience-manager/using/downloading-dam-assets.html

Translate