we want to do the count of all documents across all spaces
Hello, @DaveSingh ! Welcome to the Atlassian Community.
I couldn't find a way to get this information through the UI, not without using apps. I was able to retrieve it using the endpoint. There might be an easier or simpler way to do this, but I’m not aware of one at the moment.
Here’s the workaround I found:
I use this endpoint in the URL and check the value in the “total” field at the bottom of the page.
/rest/api/content?limit=1000&type=page
One thing to keep in mind is that the limit set in the URL response for this example is 1000. Since my instance is small, it worked for me. It might be worth testing a higher limit if your instance is larger, or perhaps using this endpoint in a script and implementing pagination.
I’d love to hear what other ideas community members have to share.
I hope it helps.
Thanks for your quick response. I also found when you click on search there is advance search at bottom, if your filter it all its shows the count of all docs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.