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

**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:** 4

<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 日 16:20 UTC](https://meta.discourse.org/t/how-to-retrieve-all-topics-of-a-category/287557/4 "2023-12-05T16:20:02Z")

</div>

你说得对；这是一个有效的替代高级过滤器！你仍然应该对参数进行编码；这是你的问题（并且可能会成为另一个问题，这取决于你使用什么）。

以下是核心高级过滤器的列表：

```plaintext
in:bookmarks
in:created
in:mine
in:likes
in:watching
in:tracking
in:all-pms
in:first
in:personal-direct
in:pinned
in:posted
in:seen
in:tagged
in:unseen
in:untagged
in:wiki

```

```plaintext
with:images

```

```plaintext
status:archived
status:closed
status:noreplies
status:open
status:public
status:single_user

```

```plaintext
max_posts:<number>
max_views:<number>
min_post_count:<number>
min_posts:<number>
min_views:<number>
posts_count:<number>

```

```plaintext
after:<date>
badge:<name|id>
before:<date>
category:<slug|id>
created:@<username>
filetypes:<ext[,ext,..]>
filetype:<ext[,ext,..]>
group_messages: <name|id>
group: <name|id>
tag:<name>
tags:<name,name>
-tag:<name>
-tags:<name,name>
user:<username|id>

```

```plaintext
#<[=]category_slug[:subcategory_slug]>
@<username>

```

---

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