Preferences
Create a Preference Localization for a Locale
Changed onAdd translated values in a desired language (i.e. locale) for a Preference. The locale is the abbreviated internationalization code associated with the language for which values will be stored. Translated values can include: preference title, description, and enumeration option labels.
post/preferences/{preferenceId}/i18n
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:customcapabilities:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
preferenceIdstring required
The ID of the preference
Headers
Authorizationstring string required
OAuth token
Request body
Example request
{
"tag": "en",
"label": "Sensibilité au mouvement",
"description": "Sensibilité au mouvement"
}Response
Successful creation of a Preference Localization
Example response
{
"tag": "en",
"label": "Sensibilité au mouvement",
"description": "Sensibilité au mouvement"
}Changes
- info
endpoint added
- info