# 是否有API调用来设置分类的logo图片？

**URL:** <https://meta.discourse.org/t/is-there-an-api-call-to-set-the-logo-image-of-a-category/214899>\
**Category:** Development\
**Created:** [2022 年1 月 14 日 18:17 UTC](https://meta.discourse.org/t/is-there-an-api-call-to-set-the-logo-image-of-a-category/214899 "2022-01-14T18:17:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![ariznaf](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@ariznaf](https://meta.discourse.org/u/ariznaf)\
发布日期： [2022 年1 月 14 日 18:17 UTC](https://meta.discourse.org/t/is-there-an-api-call-to-set-the-logo-image-of-a-category/214899/1 "2022-01-14T18:17:04Z")

</div>

我们使用外部程序的 API 调用自动创建一些主题。

我们现在想通过自动从 discourse 中先前创建的一些帖子中提取图像来更改某些类别的徽标图像。

但在 API 文档中，我们没有找到设置类别徽标图像的选项，只有颜色、名称或文本颜色。  
[Discourse API Docs](https://docs.discourse.org/#operation/updateCategory)

有办法做到这一点吗？  
我们是不是在文档中找错了地方？

提前感谢。

---

_[View the full topic](https://meta.discourse.org/t/is-there-an-api-call-to-set-the-logo-image-of-a-category/214899)._
