Save some settings about autotranslate.
URL | Requires Auth | HTTP Method |
|
|
|
Argument | Example | Required | Description |
|
| Required | The room's id to apply setting. |
|
| Required | The setting to apply to user's subscription. |
|
| Required | Boolean if the setting is |
|
| Optional | The default language. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \-H "X-User-Id: Z3cpiYN6CNK2oXWKv" \-H "Content-type:application/json" \http://localhost:3000/api/v1/autotranslate.saveSetttings \-d '{ "roomId": "7aDSXtjMA3KPLxLjt", "field": "autoTranslate", "value": true }'
{"success": true}
Version | Description |
1.3.0 | Added |