Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Curl command for listing nodes

Avatar

Level 4

Been to the curl example pages, but haven't found what I am looking for.

I want a curl command that will list all the nodes and child nodes under a specific node.

Anyone know of a curl command like this?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Tom_Fought ,
Not sure exactly with your requirement when you said list of nodes and its children.
curl -u admin:admin --location --request POST 'http://localhost:4502/bin/querybuilder.json?p.limit=-1&path=%2fapps%2fweretail%2fcomponents%2fconten...

you can change the path parameter as per your need.

Hope this helps,
Krishna

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Tom_Fought ,
Not sure exactly with your requirement when you said list of nodes and its children.
curl -u admin:admin --location --request POST 'http://localhost:4502/bin/querybuilder.json?p.limit=-1&path=%2fapps%2fweretail%2fcomponents%2fconten...

you can change the path parameter as per your need.

Hope this helps,
Krishna