We have a couple of topics that we create through the API that automatically get closed after a week due to the time sensitivity of the content. Although this works great for us, we’ve noticed that those closed topics still sort of clutter our homepage (which is set to Latest) when scrolling down a couple of pages.
I supposed we could have another script move those topics via the API to an archival category that is suppressed from the homepage, but it would be great if there were an admin setting to suppress or exclude automatically closed topics (or even just regular closed topics) from the Homepage.
I’m trying to figure out how to do this with an api call. Can you provide an example? Preferably, one using the discourse gem if possible. I’ve tried a number of things that don’t seem to work… Thanks!