Discourse Meta
How to get a category name with the ID via API
Development
nedbat
(Ned Batchelder)
2020 年3 月 16 日 22:22
8
site.json 似乎是获取所有分类列表的方法。这在
docs.discourse.org
中有提到吗?我一直在查阅文档,寻找获取子分类名称的方法,但没找到。或者有没有更好的方法?
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Subcategory Name
Product Support
4
1199
2021 年9 月 30 日
Using the API to get category_id by slug or name
Development
2
1503
2016 年8 月 21 日
Get all categories via API including subcategories
Development
rest-api
4
3840
2023 年9 月 29 日
Category by id using API
Development
2
711
2019 年5 月 24 日
How do I get subcategory by Id using Discourse API?
Product Support
2
1353
2020 年1 月 5 日