Get catalog metadata

Catalog metadata contains a list of configurations that describe the catalog and its layers. Configuration information about the catalog includes the following metadata:

  • Name
  • HERE Resource Name (HRN)
  • Description
  • Owner
  • Version
  • Layer information

To get catalog metadata:

  1. Create the OlpClientSettings instance.

    For instructions, see Create platform client settings.

  2. Create the CatalogClient object with the catalog HRN and platform client settings from step 1.

    const catalogClient = new CatalogClient(
  3. Create the CatalogRequest object.

    const request = new CatalogRequest().withBillingTag("MyBillingTag");
  4. Call the getCatalog method with the CatalogRequest parameter.

    const catalogMetadata = await catalogClient.getCatalog(request);

In browser and Node.js, to abort requests before they have completed, you can create the AbortController object, and then add the AbortController.signal property to your requests. For more information, see the AbortController documentation.


const abortController = new AbortController();
const catalogMetadata = await catalogClient.getCatalog(

results matching ""

    No results matching ""