rkaplan is seeking to display a filtered list of posts by tag on a custom homepage, without the additional UI elements typically shown in search results. They’re aware of using tags:XXX in search and reconstructing URLs, but want to isolate just the post list. awesomerobot explains that Discourse’s custom homepage uses AJAX to fetch tag data via endpoints like tags/theme.json, and suggests using the search API (e.g., search.json?q=...&expanded=true) to retrieve raw topic data. They also point to a guide on reverse-engineering Discourse API responses for deeper inspection awesomerobot. The key takeaway is that API endpoints can be leveraged to extract clean topic lists without UI clutter, without necessarily building a full web app.
I know that I can search by tag with the format tags:XXX in the search bar. I also know that I can re-create the search via the resulting URL. But what I do not understand is how to retrieve for a home page or static page just the list of posts corresponding to the search and not all the other stuff in a search response.
Do I need to use the API and build a web app to get a custom query such as this - or is there some other trick?