# 批量更改设置：希望为多个子类别启用“已接受解答”功能

**URL:** https://meta.discourse.org/t/bulk-change-setting-want-to-enable-accepted-solution-for-multiple-subcategories/109874
**Category:** Support
**Created:** [2019年二月23日 00:42 UTC](https://meta.discourse.org/t/bulk-change-setting-want-to-enable-accepted-solution-for-multiple-subcategories/109874 "2019-02-23T00:42:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![raykholo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raykholo/32/129848_2.png) [@raykholo](https://meta.discourse.org/u/raykholo)
#### Post date: [2019年二月23日 00:42 UTC](https://meta.discourse.org/t/bulk-change-setting-want-to-enable-accepted-solution-for-multiple-subcategories/109874/1 "2019-02-23T00:42:11Z")

</div>

I have a category with a number of subcategories. I would like to enable the `Allow topic owner and staff to mark a reply as the solution` for all the subcategories. Right now to do it through the UI is one at a time and involves a lot of clicking back and forth. Is there a better way to do this in bulk?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2019年二月25日 04:39 UTC](https://meta.discourse.org/t/bulk-change-setting-want-to-enable-accepted-solution-for-multiple-subcategories/109874/2 "2019-02-25T04:39:41Z")

</div>

You could use the API per:

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

But, to be honest, by the time you finish writing the script you would probably finish with all your clicking.

---

<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: [2019年三月27日 04:39 UTC](https://meta.discourse.org/t/bulk-change-setting-want-to-enable-accepted-solution-for-multiple-subcategories/109874/3 "2019-03-27T04:39:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
