您好,
我一直在查阅以下 API 文档:https://docs.discourse.org/
遗憾的是,我未能找到任何允许仅检索特定用户帖子的端点——这是我正在开发的与 Discourse 集成的 Web 应用的一项硬性要求。我希望通过电子邮件地址检索,但 Discourse 用户名或 ID 也可以。
API 是否提供此功能?
祝您有美好的一天,
Peter
您好,
我一直在查阅以下 API 文档:https://docs.discourse.org/
遗憾的是,我未能找到任何允许仅检索特定用户帖子的端点——这是我正在开发的与 Discourse 集成的 Web 应用的一项硬性要求。我希望通过电子邮件地址检索,但 Discourse 用户名或 ID 也可以。
API 是否提供此功能?
祝您有美好的一天,
Peter
Check the activity tab. It might help; but it depends on what you really need.
/user_actions.json?offset=0&username=USERNAME&filter=5offset and limitfilter has those values: likes_given: 1,
likes_received: 2,
bookmarks: 3,
topics: 4,
posts: 5,
replies: 6,
mentions: 7,
quotes: 9,
edits: 11,
messages_sent: 12,
messages_received: 13,
pending: 14
Also,
/USERNAME/activity.json
/topics/created-by/USERNAME.json
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.