Skip to main content
MindTouch Success Center

Find total number of pages on a site

Issue

  • How do I find the total number of pages on my site?
  • Difference between the number of pages the API shows and the number of pages the Content Aging report shows.

Resolution

There are two methods:

Content Aging Report

The Content Aging Report lists "Total number of pages counted in this report"

This number is all pages including unpublished pages

API

Use the @api/deki/pages API call and count the number of <page> nodes

This only includes pages that have been published. 

 

  • Was this article helpful?