How to fetch tag groups without log in?


using above url i am able to get all tag groups data but when i hit same url in private mode of browser. it throws me error " No route matches [GET] “/tag_groups.json”" .

how can i fetch the tag groups info using above url without logged in ?

1 Like

You will need to make an authenticated API request. Have a look at the Authentication section of for details about how to do that.

1 Like

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.

i have written one plugin which shows tag group name before each tag name. so these changes have to be displayed without log in.