Asset API to create folders dynamically under content/dam | Community
Skip to main content
New Participant
August 13, 2024
Solved

Asset API to create folders dynamically under content/dam

Hi Team,

Is there any asset API to create folders dynamically under content/dam or please suggest recommended approach to do the same?

 

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.
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
August 14, 2024

Hi, 

You could use the Assets API - Create folder endpoint, please check here how to use it: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac-api-assets#create-a-folder 

 

Hope this helps

Esteban Bustamante

3 replies

Hemalatha
Level 4
August 14, 2024

Hi @aemcomm 

 

Check the below sample article for your use case,

https://medium.com/@debal.india2014/explore-aem-assets-http-api-with-java-code-a6729bdbe9e7

 

Regards,

Hemalatha C

Translate
Employee
August 14, 2024
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
August 14, 2024

Hi, 

You could use the Assets API - Create folder endpoint, please check here how to use it: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac-api-assets#create-a-folder 

 

Hope this helps

Translate
Esteban Bustamante