tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > ListsService > getDependencyGraph

ListsService.getDependencyGraph() method

Gets a dependency graph for the specified item. This operation returns an instance of ‘DependencyGraphNode’ type.

Signature:

static getDependencyGraph({ escapedItemId, direction, contextRepositoryId, rloItemTypes, includeContainers, resultLimit, details, }: {
        escapedItemId: string;
        direction?: 'Uses' | 'UsedBy';
        contextRepositoryId?: string;
        rloItemTypes?: Array<any>;
        includeContainers?: boolean;
        resultLimit?: number;
        details?: 'IdAndTitleOnly' | 'WithApplicableActions' | 'Contentless';
    }): CancelablePromise<DependencyGraphNode>;

Parameters

Parameter Type Description
{ escapedItemId, direction, contextRepositoryId, rloItemTypes, includeContainers, resultLimit, details, } { escapedItemId: string; direction?: ‘Uses’ | ‘UsedBy’; contextRepositoryId?: string; rloItemTypes?: Array<any>; includeContainers?: boolean; resultLimit?: number; details?: ‘IdAndTitleOnly’ | ‘WithApplicableActions’ | ‘Contentless’; }  

Returns:

CancelablePromise<DependencyGraphNode>

DependencyGraphNode The request was successful.

Exceptions

ApiError