getAllWidgetDescriptorsByPageType

get

/ccadmin/v1/widgetDescriptors/pageType/{id}

Get All Widget Descriptors By Page Type. Get all widget descriptors by page type

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 : getAllWidgetDescriptorsByPageType_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
Array of page types
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "displayName":"Checkout Confirmation",
        "availableToAllPages":true,
        "repositoryId":"checkoutConfirmation",
        "id":"checkoutConfirmation",
        "editableWidget":true,
        "defaultLayout":null,
        "pageTypes":[
            {
                "repositoryId":"confirmation",
                "alias":"/confirmation",
                "id":"confirmation",
                "shortName":"confirmation"
            }
        ],
        "layouts":[
        ],
        "widgetType":"checkoutConfirmation"
    },
    {
        "displayName":"Confirmation Summary",
        "availableToAllPages":true,
        "repositoryId":"confirmationSummary",
        "id":"confirmationSummary",
        "editableWidget":true,
        "defaultLayout":null,
        "pageTypes":[
            {
                "repositoryId":"confirmation",
                "alias":"/confirmation",
                "id":"confirmation",
                "shortName":"confirmation"
            }
        ],
        "layouts":[
        ],
        "widgetType":"confirmationSummary"
    }
]

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