AEM Results count using query builder

 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



Comments

Popular posts from this blog

AEM integration with Akamai Fast Purge API for Single/multiple urls

AEM - Rollout a page programmatically and update references