Discourse Meta
获取主题中的所有帖子
开发
rest-api
Canapin
(Coin-coin le Canapin)
2025 年3 月 21 日 20:26
4
哦,我误读了你的帖子。我以为你在寻找一次性返回某个主题的所有帖子。
这是一个使用 API 分页的脚本示例(查询不完全相同,因为它返回的是用户帖子,并且每页包含 50 个帖子,而不是 20 个):
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Fetch All Posts from a Topic Using the API
Integrations
rest-api
,
how-to
4
2951
2024 年12 月 17 日
Topic API gets the wrong posts- consistently off by 5
Support
rest-api
3
106
2025 年2 月 18 日
API: Getting all posts in a topic
Development
19
8646
2023 年1 月 11 日
API can pull only 20 posts
Development
rest-api
7
1933
2020 年9 月 15 日
Api to fetch topic by page
Development
rest-api
4
1880
2017 年5 月 25 日