getAllWidgetDescriptors

get

/ccadmin/v1/widgetDescriptors

Get All Widget Descriptors. Get all widget descriptors

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getAllWidgetDescriptors_response
Type: object
Show Source
Nested Schema : items
Type: array
description
Show Source
Nested Schema : items
Type: object
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":"Add Product To Space",
        "availableToAllPages":false,
        "jsEditable":false,
        "minWidth":1,
        "version":1,
        "layouts":[
        ],
        "widgetType":"productAddToSpaceWidget",
        "latestVersion":1,
        "repositoryId":"productAddToSpaceWidget",
        "editableWidget":false,
        "id":"productAddToSpaceWidget",
        "defaultLayout":null,
        "pageTypes":[
        ],
        "configurable":false
    },
    {
        "isLatestVersion":true,
        "displayName":"Cart Shipping",
        "availableToAllPages":false,
        "jsEditable":false,
        "minWidth":1,
        "version":1,
        "layouts":[
            {
                "name":"cartShippingDetailsDefaultLayout",
                "repositoryId":"cartShippingDetailsDefaultLayout",
                "description":"Default Panel",
                "sourceLocation":"cartShippingDetailsDefaultLayout/widget.template",
                "id":"cartShippingDetailsDefaultLayout"
            }
        ],
        "widgetType":"cartShippingDetails",
        "latestVersion":1,
        "repositoryId":"cartShippingDetails",
        "editableWidget":true,
        "id":"cartShippingDetails",
        "defaultLayout":{
            "name":"cartShippingDetailsDefaultLayout",
            "repositoryId":"cartShippingDetailsDefaultLayout",
            "description":"Default Panel",
            "sourceLocation":"cartShippingDetailsDefaultLayout/widget.template",
            "id":"cartShippingDetailsDefaultLayout"
        },
        "pageTypes":[
            {
                "repositoryId":"shoppingCartSummaryPageType",
                "alias":"/cart",
                "id":"shoppingCartSummaryPageType",
                "shortName":"cart"
            }
        ],
        "configurable":false
    },
    {
        "isLatestVersion":true,
        "displayName":"Cart Summary",
        "availableToAllPages":false,
        "jsEditable":false,
        "minWidth":1,
        "version":1,
        "layouts":[
        ],
        "widgetType":"checkoutCartSummary",
        "latestVersion":1,
        "repositoryId":"checkoutCartSummary",
        "editableWidget":true,
        "id":"checkoutCartSummary",
        "defaultLayout":null,
        "pageTypes":[
            {
                "repositoryId":"checkoutPageType",
                "alias":"/checkout",
                "id":"checkoutPageType",
                "shortName":"checkout"
            }
        ],
        "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