Expand my Community achievements bar.

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