updateWidgetDescriptorMetadata

put

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

Update widget descriptor metadata.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : metadataForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : metadata
Type: object
Metadata structure
Show Source
Nested Schema : config
Type: object
Additional Properties Allowed
Show Source
Configuration values for the widget.
Nested Schema : imports
Type: array
Widget import names.
Show Source
Nested Schema : pageTypes
Type: array
List of page types usable with the widget.
Show Source
Nested Schema : translations
Type: array
Widget translations for display name.
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 : metadataForWidgetDescriptor
Type: object
Show Source
Nested Schema : items
Type: object
response
Show Source
Nested Schema : metadata
Type: object
Metadata structure
Show Source
Nested Schema : config
Type: object
Additional Properties Allowed
Show Source
Configuration values for the widget.
Nested Schema : imports
Type: array
Widget import names.
Show Source
Nested Schema : pageTypes
Type: array
List of page types usable with the widget.
Show Source
Nested Schema : translations
Type: array
Widget translations for display name.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "metadata":{
        "imports":[
        ],
        "translations":[
            {
                "name":"Luther [th]",
                "language":"th"
            },
            {
                "name":"Luther [pt_BR]",
                "language":"pt_BR"
            }
        ],
        "availableToAllPages":true,
        "jsEditable":true,
        "minWidth":1,
        "globalEnabled":true,
        "config":{
        }
    }
}

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