Skip to main content

CatalogClient.getEntityAncestors()

Home > @backstage/catalog-client > CatalogClient > getEntityAncestors

Gets entity ancestor information, i.e. the hierarchy of parent entities whose processing resulted in a given entity appearing in the catalog.

Signature:

getEntityAncestors(request: GetEntityAncestorsRequest, options?: CatalogRequestOptions): Promise<GetEntityAncestorsResponse>;

Parameters

Parameter

Type

Description

request

GetEntityAncestorsRequest

Request parameters

options

CatalogRequestOptions

(Optional) Additional options

**Returns:**

Promise<GetEntityAncestorsResponse>