Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM HTTP Call to get the full node tree

Avatar

Level 2

Hello, - Is there any way to get the full tree content of AEM JCR node, including all descendant nodes and their properties, in json or xml format with single HTTP call?

Thanks,

Pavel

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @pilmenkov 

 

You can make the page rqeuest with infinity.json and it will give the complete structure in JSON format.

Sample here:

http://localhost:4502/content/wknd/language-masters/en/magazine.infinity.json

 

will give something like below:

asutosh_jena_0-1619454368141.png

 

Hope this helps!

 

Thanks

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @pilmenkov 

 

You can make the page rqeuest with infinity.json and it will give the complete structure in JSON format.

Sample here:

http://localhost:4502/content/wknd/language-masters/en/magazine.infinity.json

 

will give something like below:

asutosh_jena_0-1619454368141.png

 

Hope this helps!

 

Thanks