Make Content Fragment with API | Community
Skip to main content
ashikg3
Level 2
July 21, 2023
Solved

Make Content Fragment with API

  • July 21, 2023
  • 3 replies
  • 1478 views

Hello There,

I am trying to make an API that will allow an authorized user to send data in AEM. When AEM received that data it will create a content fragment with that data. Is there any tutorial or doc that can give me an idea of how to make it or achieve the goal? I have added a diagram for better understanding. Please help me

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shashi_Mulugu

Yes AEM supports this CRUD operstions using HTTP API for assets, which also supports CF.

 

https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/assets-api-content-fragments/index.html

3 replies

Level 2
July 21, 2023

For creating content fragments through API, content fragment model needs to be available in AEM. Here is OOTB API you may refer: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/assets-api-content-fragments.html?lang=en#entity-types 

 

Hope this helps.

Shashi_Mulugu
Community Advisor
Shashi_MuluguCommunity AdvisorAccepted solution
Community Advisor
July 22, 2023

Yes AEM supports this CRUD operstions using HTTP API for assets, which also supports CF.

 

https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/assets-api-content-fragments/index.html

ashikg3
ashikg3Author
Level 2
July 22, 2023

I am getting all over the place now. Do you have any github repo that can advise me more in this. or example of a code to do the CRUD operation

Level 2
July 22, 2023

Kindly refer to this tutorial to make content fragment with API. Also refer this link to create content fragment API.