Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Can you use Assets HTTP API to access assets in a collection in AEM DAM?

Avatar

Level 2

Does Assets HTTP API support accessing assets in a given collection in AEM DAM? Or is there an alternative programmatically approach or another API for it?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@uafzal  Yes you can retrieve the assets in a folder in AEM Assets using the Assets Http API. Refer link below

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html#r...

You can try accessing /api/assets/myFolder.json endpoint in postman with Basic Auth.

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

@uafzal  Yes you can retrieve the assets in a folder in AEM Assets using the Assets Http API. Refer link below

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html#r...

You can try accessing /api/assets/myFolder.json endpoint in postman with Basic Auth.

Avatar

Level 1
@shelly-goel Thank you for the comment. Yes, retrieving folder listing is possible. My question was regarding accessing assets in a collection. Do you know if there a way to fetch assets in a collection?

Avatar

Community Advisor
Since collection doesn't actually hold the assets but virtually groups them together, I don't think there's any API currently available to fetch assets in a collection