updateConfigLocaleContentForWidgetDescriptor
put
/ccadmin/v1/widgetDescriptors/{id}/metadata/config/locale/{locale}
Update the config locale content for widget descriptor for the specified locale.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The ID of the widget descriptor
-
locale: string
The locale of the of the desired content
Root Schema : configLocaleContentForWidgetDescriptor
Type:
Show Source
object
-
items(optional):
object items
response
Nested Schema : items
Type:
object
response
Show Source
-
localeData(optional):
object localeData
Locale strings structure
Nested Schema : localeData
Type:
object
Locale strings structure
Show Source
-
resources(optional):
object resources
Additional Properties Allowed: additionalPropertiesLocale strings sub-structure
Nested Schema : resources
Type:
object
Additional Properties Allowed
Show Source
Locale strings sub-structure
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : configLocaleContentForWidgetDescriptor
Type:
Show Source
object
-
items(optional):
object items
response
Nested Schema : items
Type:
object
response
Show Source
-
localeData(optional):
object localeData
Locale strings structure
Nested Schema : localeData
Type:
object
Locale strings structure
Show Source
-
resources(optional):
object resources
Additional Properties Allowed: additionalPropertiesLocale strings sub-structure
Nested Schema : resources
Type:
object
Additional Properties Allowed
Show Source
Locale strings sub-structure
Example Response (application/json)
{
"localeData":{
"resources":{
"exampleStringPropertyHelpText":"Example string property help text",
"exampleOption3Label":"Example Option 3",
"exampleBooleanPropertyLabel":"Example Boolean Property Label",
"exampleStringPropertyLabel":"Example String Property Label",
"exampleOptionPropertyLabel":"Example Option Property Label",
"exampleOption1Label":"Example Option 1",
"exampleBooleanPropertyHelpText":"Example boolean property help text",
"exampleOptionPropertyHelpText":"Example option property help text",
"exampleOption2Label":"Example Option 2"
}
}
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code