Ao usar a URL acima, consigo obter todos os dados dos grupos de tags, mas quando faço a mesma requisição no modo anônimo do navegador, recebo o erro: “No route matches [GET] "/tag_groups.json"”.
Como posso buscar as informações dos grupos de tags usando a URL acima sem estar logado?
You will need to make an authenticated API request. Have a look at the Authentication section of https://docs.discourse.org/ for details about how to do that.
If Simon’s answer isn’t the one you’re looking for, it might help for you to back up and describe your problem (why do you need to get the tag groups?) rather than your proposed solution to it.