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
Path Parameters
Body ()
Root Schema : configLocaleContentForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : localeData
Type: object
Locale strings structure
Show Source
Nested Schema : resources
Type: object
Additional Properties Allowed
Show Source
Locale strings sub-structure
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : configLocaleContentForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : localeData
Type: object
Locale strings structure
Show Source
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
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top