I’m not sure if this is a bug, or by design, but inside /site.json, there is no “community_name” variable or similar so that our app can get the name of the community.
For context, we’re adding support for Discourse to Everwall so that our customers can add an API key and then we monitor tags for new posts and allow them to pull them into their social walls or social media hubs on their website.
While we could just ask the user adding Discourse for the name of the community, I was hoping we could hit one of the “.json” endpoints to get this information.
From what I can tell, I have two options:
- Call /latest.rss (yes, the RSS feed), and then parse it out of the tag.
- Scrape the homepage HTML tag and parse it.
Is this information missing in /site.json by design? Is it somewhere else that I haven’t found yet?
Any help here would be appreciated.