getComponentHierarchy

get

/ccadmin/v1/components/{componentType}/{component}/hierarchy

Get Component Hierarchy. Gets the component hierarchy of the input component.

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 : getComponentHierarchy_response
Type: object
Show Source
Nested Schema : items
Type: array
Component Hierarchy Response
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : repositoryId
Type: array
The ID of the component that the hierarchy belongs to.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : allAncestors
Type: array
All the ancestors for the component.
Show Source
Nested Schema : ancestors
Type: array
The ancestor component ids from the container instance hierarchy.
Show Source
Nested Schema : providesContext
Type: array
The provided context from the container instance hierarchy.
Show Source
Example Response (application/json)
{
    "items":[
        {
            "cancelItemDetailsWidgetInst_v2":[
                {
                    "maxAncestorDepth":0,
                    "providesContext":[
                    ],
                    "displayName":"Order Details Layout",
                    "allAncestors":[
                    ],
                    "id":"orderDetailsPage",
                    "ancestors":[
                    ],
                    "type":"page"
                }
            ],
            "links":[
                {
                    "rel":"self",
                    "href":"http://localhost:9080/ccadmin/v1/components/widget/cancelItemDetails_v2/hierarchy"
                }
            ]
        }
    ]
}

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