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
Query Parameters
  • If set to true (default is false), layout associations of the instances is passed in endpoint response.
  • This is the field to determine number of records to be fetched per REST call. If provided returns paginated response.
  • This field determines the offset/starting index from which data to be fetched. If provided returns paginated response.
  • If search provided (default is empty), returns paginated response matching the search query param with display name of instances.
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