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
Views
Replies
Total Likes
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
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
Hi @Tom_Fought,
the OOTB JSON API will return you all the sub-nodes:
curl http://localhost:4503/content/my-site/com/en.infinity.json
Given that the infinity selector is enabled in an environment.
Good luck,
Daniel
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies