Catalog metadata contains a list of configurations that describe the catalog and its layers. Configuration information about the catalog includes the following metadata:
To get catalog metadata:
For instructions, see Create platform client settings.
CatalogClient object with the catalog HRN and platform client settings from step 1.
const catalogClient = new CatalogClient( HRN.fromString("CatalogHRN"), settings );
const request = new CatalogRequest().withBillingTag("MyBillingTag");
getCatalog method with the
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
const abortController = new AbortController(); const catalogMetadata = await catalogClient.getCatalog( request, abortController.signal );