uploadGeoCollectionFile()
Home > @gooddata/sdk-backend-spi > IOrganizationGeoCollectionsService > uploadGeoCollectionFile
IOrganizationGeoCollectionsService.uploadGeoCollectionFile() 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.
Upload a file to staging for subsequent import into a geo collection.
Signature:
uploadGeoCollectionFile(file: File): Promise<IGeoCollectionFileUploadResult>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
file |
File |
geo data file to upload |
Returns:
Promise<IGeoCollectionFileUploadResult>
Promise resolved with the staging location reference.