@KengoTODA 的 GitHub 代码给了我很大帮助。我现在有了一个按用户身份验证用户并向 Discourse 发起 API 调用的可用版本。我将我的步骤整理在这里:User API keys specification - #45 by JQ331
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Create apikey for user programmatically as admin | 8 | 1950 | 2024 年2 月 26 日 | |
| Generate User Api Key Without User Approval | 4 | 883 | 2024 年7 月 2 日 | |
| Allow API use by regular users, not just admins | 7 | 1325 | 2023 年4 月 29 日 | |
| User API keys specification | 70 | 35347 | 2025 年9 月 22 日 | |
| Generating User Api Keys with REST API | 20 | 8702 | 2018 年4 月 8 日 |