The discussion revolves around retrieving a complete list of topics and their view counts from the Discourse API. paigen11 is looking for a simple way to get this data in JSON format, similar to the Discourse server’s landing page. j127 suggests using the Data Explorer plugin, which allows making SQL queries and getting results via the API. david recommends using the latest.json endpoint, which includes topic titles and view counts, and is documented here. However, pHneutre notes that this method requires looping through multiple pages, and asks if it’s possible to get all topics in a single request. paigen11 appreciates the suggestions and plans to explore them further.
I’m trying to see if there’s a way to reverse-engineer getting a complete list of topics and views for each of those topics via the Discourse API.
Ideally, something as simple as the landing page of a Discourse server with topic names and views in JSON format would be perfect, but from what I can tell from the API documentation there doesn’t seem to be an endpoint that can provide this high level overview.
Is there such a way to get this data in a nice format that I could pipe through to an analytics dashboard API?