Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to call the CQ5 API AssetDownloadService

Avatar

Former Community Member

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 4

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