# 使用 REST API 获取最近更新的帖子

**URL:** https://meta.discourse.org/t/getting-recently-updated-posts-using-the-rest-api/220071
**Category:** General
**Tags:** rest-api
**Created:** [2022年三月4日 15:18 UTC](https://meta.discourse.org/t/getting-recently-updated-posts-using-the-rest-api/220071 "2022-03-04T15:18:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年三月4日 15:30 UTC](https://meta.discourse.org/t/getting-recently-updated-posts-using-the-rest-api/220071/2 "2022-03-04T15:30:53Z")

</div>

> [@jurgc11](#):
>
> 我试图获取在 Discourse 中所做的每一次更改，并将其发送到另一个系统。

听起来这是一个使用 webhook 的工作。您可以添加一个 webhook，让它在每次帖子更改时通知您的系统。

> [@jurgc11](#):
>
> 有没有办法使用 REST API 获取最近更新（包括创建）的帖子？

请参阅[如何使用 Discourse API 运行 Data Explorer 查询](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-the-discourse-api/120063)

---

_[View the full topic](https://meta.discourse.org/t/getting-recently-updated-posts-using-the-rest-api/220071)._
