getWidgetDescriptorById

get

/ccadmin/v1/widgetDescriptors/{id}

Get Widget Descriptor By Id. Get the widget descriptor by the id

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getWidgetDescriptorById_response
Type: object
Show Source
Nested Schema : items
Type: object
Widget details
Show Source
Nested Schema : defaultLayout
Type: object
The default layout
Show Source
Nested Schema : layouts
Type: array
Array of layouts that this widget appears on
Show Source
Nested Schema : pageTypes
Type: array
An array of page types
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "isLatestVersion":true,
    "displayName":"Header",
    "availableToAllPages":true,
    "jsEditable":false,
    "minWidth":1,
    "version":1,
    "layouts":[
        {
            "name":"headerWidgetDefaultLayout",
            "repositoryId":"headerWidgetDefaultLayout",
            "description":"Default Panel",
            "sourceLocation":"headerWidgetDefaultLayout/widget.template",
            "id":"headerWidgetDefaultLayout"
        }
    ],
    "widgetType":"headerWidget",
    "latestVersion":1,
    "repositoryId":"headerWidget",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/widgetDescriptors/headerWidget"
        }
    ],
    "editableWidget":true,
    "id":"headerWidget",
    "defaultLayout":{
        "name":"headerWidgetDefaultLayout",
        "repositoryId":"headerWidgetDefaultLayout",
        "description":"Default Panel",
        "sourceLocation":"headerWidgetDefaultLayout/widget.template",
        "id":"headerWidgetDefaultLayout"
    },
    "pageTypes":[
    ],
    "configurable":true
}

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