listComponents

get

/ccadmin/v1/components

List Components. Endpoint for getting all components.

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 : listComponents_response
Type: object
Show Source
Nested Schema : items
Type: array
Component
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : instances
Type: array
The instances of the component.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : layoutAssociations
Type: array
The layouts the component instances are associated with.
Show Source
Example Response (application/json)
{
    "items":[
        {
            "isLatestVersion":true,
            "updatesAvailable":false,
            "slotType":"contentVariationSlot",
            "latestVersion":1,
            "instances":[
            ],
            "displayName":"Content Variation Slot",
            "repositoryId":"ContentVariationSlot",
            "hiddenFromSiteStudio":false,
            "global":false,
            "source":100,
            "type":"slot",
            "version":1
        },
        {
            "isLatestVersion":true,
            "updatesAvailable":false,
            "slotType":"experimentSlot",
            "latestVersion":1,
            "instances":[
            ],
            "displayName":"Experiment Slot",
            "repositoryId":"ExperimentSlot",
            "hiddenFromSiteStudio":false,
            "global":false,
            "source":100,
            "type":"slot",
            "version":1
        }
    ]
}

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