updateConfigMetadataForWidgetDescriptor

put

/ccadmin/v1/widgetDescriptors/{id}/metadata/config

Gets the user modifiable config metadata for a widget descriptor.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : configMetadataForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : metadata
Type: object
Metadata structure
Show Source
Nested Schema : properties
Type: array
Array of metadata properties.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : options
Type: array
Describes possible values for an optionType property.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : configMetadataForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : metadata
Type: object
Metadata structure
Show Source
Nested Schema : properties
Type: array
Array of metadata properties.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : options
Type: array
Describes possible values for an optionType property.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "metadata":{
        "widgetDescriptorName":"luther",
        "properties":[
            {
                "name":"exampleStringProperty",
                "id":"exampleStringProperty",
                "helpTextResourceId":"exampleStringPropertyHelpText",
                "labelResourceId":"exampleStringPropertyLabel",
                "type":"stringType",
                "required":true
            },
            {
                "defaultValue":"option1",
                "name":"exampleOptionProperty",
                "options":[
                    {
                        "id":"exampleOption1",
                        "labelResourceId":"exampleOption1Label",
                        "value":"exampleOption1"
                    },
                    {
                        "id":"exampleOption2",
                        "labelResourceId":"exampleOption2Label",
                        "value":"exampleOption2"
                    },
                    {
                        "id":"exampleOption3",
                        "labelResourceId":"exampleOption3Label",
                        "value":"exampleOption3"
                    }
                ],
                "id":"exampleOptionProperty",
                "helpTextResourceId":"exampleOptionPropertyHelpText",
                "labelResourceId":"exampleOptionPropertyLabel",
                "type":"optionType"
            },
            {
                "defaultValue":true,
                "name":"exampleBooleanProperty",
                "id":"exampleBooleanProperty",
                "helpTextResourceId":"exampleBooleanPropertyHelpText",
                "labelResourceId":"exampleBooleanPropertyLabel",
                "type":"booleanType"
            }
        ]
    }
}

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