@skycatch/node-skyapi-sdk
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -302,3 +302,3 @@ 'use strict' | ||
* @param (string) name - Dataset name | ||
* @param (string) sourceId - The source ID in the app creating the dataset. If passed in it will be used as the name for the s3 object dir in place of the DUUID. | ||
* @param (string) sourceId - The source ID in the app creating the dataset. If passed in it will be used as the name for the s3 object dir in place of the DUUID. | ||
* @param (string) type - The dataset type | ||
@@ -1903,4 +1903,37 @@ * @param (object) metadata - Metadata about the dataset | ||
} | ||
/** | ||
* Get an overlay | ||
* Retrieve an overlay information by id | ||
* @method | ||
* @name getOverlay | ||
* @param (string) uuid - Overlay identifier | ||
* @param (boolean) include_urls - True if response should include the signed urls for the preview image and tiles folder. | ||
*/ | ||
api.getOverlay = async (params = {}, options = {}) => { | ||
let method = 'get'.toUpperCase() | ||
let path = `/v${version || 2}` + '/overlays/{uuid}' | ||
let query = {} | ||
let body = {} | ||
let security = true | ||
if (params['uuid'] !== undefined) { | ||
path = path.replace('{' + 'uuid' + '}', params['uuid']) | ||
} | ||
if (params['include_urls'] !== undefined) { | ||
query['include_urls'] = params['include_urls'] | ||
} | ||
return api.request({ | ||
method, | ||
path, | ||
query, | ||
body, | ||
security, | ||
options | ||
}) | ||
} | ||
return api | ||
} | ||
} |
{ | ||
"name": "@skycatch/node-skyapi-sdk", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Node SDK to interact with SkyAPI", | ||
@@ -60,2 +60,3 @@ "main": "./dist/skyapi.js", | ||
"@skycatch/skyapi-overlays-post": "github:skycatch/skyapi-overlays-post#v1.0.0", | ||
"@skycatch/skyapi-overlays-get": "github:skycatch/skyapi-overlays-get#v1.0.0", | ||
"@skycatch/skyapi-precog-ui-jobs-get": "github:skycatch/skyapi-precog-ui-jobs-get", | ||
@@ -62,0 +63,0 @@ "@skycatch/skyapi-precog-ui-jobs-get-all": "github:skycatch/skyapi-precog-ui-jobs-get-all", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
802593
16722
5
44