Hi,
Can anyone tell how can AEM's content be accessible through Content API? Can anyone tell what is content API?
Views
Replies
Total Likes
Hi
Can you please let me know which documentation are you following? I am not sure if we are on same page. I am not sure what content API are you talking about here?
If your aim is to retrieve content from AEM repository then please have a look at this link:- https://helpx.adobe.com/experience-manager/using/using-sling-apis.html
~kautuk
Views
Replies
Total Likes
Please post the Javadoc for the API you are referring to.
Views
Replies
Total Likes
Hi,
I want to get page's information as json response using sightly. How can I achieve that?
Views
Replies
Total Likes
Hi
It depends, what type of information are you looking for.
Some default ways to get Json Information are:
1. http://localhost:4502/libs/wcm/core/content/pageinfo.json?path=<path> like http://localhost:4502/libs/wcm/core/content/pageinfo.json?path=/content/geometrixx-outdoors/en.html
2. http://localhost:4502/cf#/content/geometrixx-outdoors/en.1.json
3.http://localhost:4502/content/geometrixx/en/jcr:content/mycomponentinstance.json
If you want some custom information to be returned as a Json, then you need to write custom component/service.
Reference link:- http://www.nateyolles.com/blog/2015/12/converting-aem-sling-resources-to-json
// Converting AEM/Sling Resources to JSON
Helpx :- https://helpx.adobe.com/experience-manager/using/using-jsonwriter-objects-display-cq.html
//sing JSONWriter objects to display Adobe Experience Manager data
I hope this would help you.
~kautuk
Views
Replies
Total Likes
How to get page information, like the dialog and component included inside the page in json format, using sightly??
Views
Replies
Total Likes
Is there a service or java class using sightly that converts page information, like the dialog and component included inside the page into json format??
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies