# 是否有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年一月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:** 8

<div class="post-metadata">

**Author:** ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)\
**Post date:** [2022年一月16日 13:53 UTC](https://meta.discourse.org/t/is-there-an-api-call-to-set-the-logo-image-of-a-category/214899/8 "2022-01-16T13:53:51Z")

</div>

请参阅 [https://meta.discourse.org/t/how-to-create-a-custom-badge-with-an-image-through-the-api/210616，了解在](https://meta.discourse.org/t/how-to-create-a-custom-badge-with-an-image-through-the-api/210616%EF%BC%8C%E4%BA%86%E8%A7%A3%E5%9C%A8) Discourse 中使用新的图片上传 API 的示例。它的用途不同，但原理可能相同。

---

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