The easiest way to grant a badge based on activity that occurs outside of Discourse would be to create a custom badge on Discourse through the UI, and then grant the badge through the Discourse API. See Grant a custom badge through the API for details.
simon
5
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| How do I make my own badge query? | 4 | 6213 | 2016 年 10 月 1 日 | |
| Grant a custom badge through the API | 9 | 7809 | 2023 年 11 月 18 日 | |
| Creating custom badge with custom rules | 10 | 1705 | 2023 年 3 月 14 日 | |
| Badge collection examples | 5 | 2314 | 2015 年 3 月 18 日 | |
| Create badges based on Gamification score | 3 | 792 | 2023 年 1 月 10 日 |