How do I get subcategory by Id using Discourse API?

When I pull the /categories.json it shows all the parent categories only and their subcategories(if any) under "subcategory_ids" [] array. How can get the sub-category details by it’s id?

Any API to get details like this /categories/8.json ?

1 Like

How about https://meta.discourse.org/c/7.json

4 Likes

Use /c/8/show.json. Eg:
https://meta.discourse.org/c/27/show.json

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.