# 是否有用于在分类中启用投票的 API 端点？

**URL:** https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734
**Category:** Development
**Tags:** topic-voting, rest-api
**Created:** [2019年五月14日 20:11 UTC](https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734 "2019-05-14T20:11:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lol](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@lol](https://meta.discourse.org/u/lol)
#### Post date: [2019年五月14日 20:11 UTC](https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734/1 "2019-05-14T20:11:02Z")

</div>

是否有用于在分类中启用投票的 API 端点？

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2019年五月14日 21:11 UTC](https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734/2 "2019-05-14T21:11:42Z")

</div>

Everything in Discourse can be done via API. You can find the API endpoint, payload and details using [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022年九月22日 05:05 UTC](https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734/3 "2022-09-22T05:05:50Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年九月22日 05:13 UTC](https://meta.discourse.org/t/is-there-an-api-endpoint-for-enabling-voting-in-a-category/117734/4 "2022-09-22T05:13:55Z")

</div>


