CatalogClient.getLocationById()
Home > @backstage/catalog-client
> CatalogClient
> getLocationById
Gets a registered location by its ID.
Signature:
getLocationById(id: string, options?: CatalogRequestOptions): Promise<Location | undefined>;
Parameters
Parameter |
Type |
Description |
---|---|---|
id |
string |
A location ID |
options |
(Optional) Additional options |
Promise<Location | undefined>