Make Content Fragment with API | Community
Skip to main content
ashikg3
Level 2
Jul 21, 2023 10:51 PM UTC
Solved

Make Content Fragment with API

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.
Shashi_Mulugu
Shashi_MuluguAccepted solution
New Participant
Jul 22, 2023 3:54 AM UTC

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

4 replies

Level 2
Jul 22, 2023 11:12 PM UTC

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

Translate
Shashi_Mulugu
Shashi_MuluguAccepted solution
New Participant
Jul 22, 2023 3:54 AM UTC

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

Translate
ashikg3
ashikg3Author
Level 2
Jul 22, 2023 11:29 AM UTC

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

Translate
Level 2
Jul 21, 2023 11:16 PM UTC

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.

Translate