Abstract
Using below query builder we can get the list of pages/assets count returned in json format
Page Count:
http://localhost:4502/bin/querybuilder.json?path=/content/we-retail&property=jcr:primaryType&property.1_value=cq:Page&p.limit=-1
Assets Count:
http://localhost:4502/bin/querybuilder.json?path=/content/dam&property=jcr:mimeType&property.1_value=image/gif&property.1_value=image/png&property.2_value=image/jpeg&property.3_value=image/svg+xml&p.limit=-1
Read Full Blog
Q&A
Please use this thread to ask the related questions.
Kautuk Sahni