So I am probably missing it…but I cannot seem to find a quick way to view the number of topics per category? I know I can go into “edit” on the category page, and get the number of topics from that page where it states “Can’t delete this category because it has xxx topics”, but I am hoping to see more than one category at a time (ideally all on one screen). Is this possible to do somewhere?
AI-generated summary
In the Support category, jomaxro asked how to view the total number of topics per category simultaneously, noting that the standard category edit page only shows counts individually. While codinghorror suggested the information might be on the /categories page, jomaxro clarified that they only see activity rates there and require the total count for moderation cleanup purposes on a game development forum. Mittineague initially suggested using the CLI or the Data Explorer plugin, but jomaxro explained they lack admin access and the plugin is disabled. techAPJ provided the solution, confirming that the topic_count data is available in the /site.json endpoint. After zogstrip recommended a Chrome extension for better JSON readability, jomaxro confirmed they found a suitable tool and requested the thread be closed.
Why do you need to see this number? What is it useful for?
Anyway, it is visible on the /categories page.
The Discourse I am a moderator on is for a game in active development. In addition to hosting discussion about the game as a whole, it serves as the bug reporting system for the developers. The game has been out in alpha for 2 years now, with coming up on 13 major releases. Before that 13th release we (the moderators) are trying to do a bit of “cleanup” as as the number of bug reports, suggestions, and other topics spike with each release. Being able to quickly see which categories have more topics is good for us to know where to devote our time.
I could be staring right at it, but I don’t see the number of topics in a category here. I see the rate at which there new topics have been created, but not something like “there are 1,234 topics in Suggestions”…
This sounds like a job for CLI (ActiveRecord) or the data explorer plugin. (SQL)
https://github.com/discourse/discourse-data-explorer
Are you any good and putting together queries?
I do know SQL, so I would be able to queries for that type of data, and I do see that on the admin page, but…1) I am not an admin, and 2) the plugin is disabled.
You might be able to see this in the json data for the categories page. Can
you check @techapj
Yes, the total “topic count” data for each category is present in /site.json endpoint.
@jomaxro search for topic_count here http://discourse.stonehearth.net/site.json and you will find what you are looking for ![]()
There are extensions for that ![]()
Just saw this reply…thanks! I found a nice one that does the formatting. Feel free to close this thread up!
