getInstancesForWidgetDescriptor

get

/ccadmin/v1/widgetDescriptors/{id}/instances

Get Instances For Widget Descriptor. Get all instances of a particular widget descriptor 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 : getInstancesForWidgetDescriptor_response
Type: object
Show Source
Nested Schema : items
Type: object
Array of widget instances.
Show Source
Nested Schema : descriptor
Type: object
Widget descriptor details
Show Source
Example Response (application/json)
[
    {
        "displayName":"Header - Basic Widget",
        "repositoryId":"basicHeaderWidgetInst",
        "descriptor":{
            "repositoryId":"headerWidget",
            "minWidth":1,
            "editableWidget":true
        }
    },
    {
        "displayName":"Header Widget",
        "repositoryId":"headerWidgetInst",
        "descriptor":{
            "repositoryId":"headerWidget",
            "minWidth":1,
            "editableWidget":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