# 如何获取一个分类的所有主题

**URL:** <https://meta.discourse.org/t/how-to-retrieve-all-topics-of-a-category/287557>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2023 年12 月 5 日 10:45 UTC](https://meta.discourse.org/t/how-to-retrieve-all-topics-of-a-category/287557 "2023-12-05T10:45:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2023 年12 月 5 日 13:48 UTC](https://meta.discourse.org/t/how-to-retrieve-all-topics-of-a-category/287557/2 "2023-12-05T13:48:06Z")

</div>

您好，

您需要对 `q` 参数进行编码。

您想要发送的是：`?q=%23retail%20after%3A2023-12-05%20order%3Alatest_topic`

---

_[View the full topic](https://meta.discourse.org/t/how-to-retrieve-all-topics-of-a-category/287557)._
