通过插件实现自己的 API 端点应该不难。然后,您可以使用常规的 RSpec 方法来编写测试套件,您可以在更新前在暂存站点上调用它。
thoka
(Thomas Kalka)
3
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Versioned Restful API | 4 | 632 | 2018 年9 月 6 日 | |
| Discourse API -- Additive or also breaking? | 1 | 529 | 2018 年10 月 17 日 | |
| Pre-release information | 2 | 349 | 2021 年5 月 25 日 | |
| All API calls now getting "You are not permitted to view the requested resource" | 12 | 2102 | 2020 年4 月 12 日 | |
| What is the Timing of Formal Discourse REST API? | 6 | 2413 | 2025 年12 月 4 日 |