getGeoCollection()
Home > @gooddata/sdk-backend-spi > IOrganizationGeoCollectionsService > getGeoCollection
IOrganizationGeoCollectionsService.getGeoCollection() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get a single custom geo collection by its identifier.
Signature:
getGeoCollection(id: string): Promise<IGeoCollection | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
string |
identifier of the geo collection |
Returns:
Promise<IGeoCollection | undefined>
Promise resolved with the geo collection, or undefined if not found.