另请参阅 https://meta.discourse.org/t/how-to-create-a-custom-badge-with-an-image-through-the-api/210616,其中展示了如何上传,并提供了另一个授予徽章的示例(使用 Python)。