Discourse Meta
如何确定类别ID
支持
JammyDodger
2023 年3 月 16 日 05:32
5
我认为最简单的方法是使用数据浏览器查询。
类似这样:
SELECT name, id FROM categories ORDER BY name
3 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
How to get a category name with the ID via API
Development
8
5991
2020 年3 月 17 日
Subcategory Name
Support
4
1023
2021 年9 月 30 日
Using the API to get category_id by slug or name
Development
2
1450
2016 年8 月 21 日
How do I get subcategory by Id using Discourse API?
Support
3
1264
2020 年2 月 4 日
Category by id using API
Development
2
649
2019 年5 月 24 日