ee.data.getAsset

Load info for an asset, given an asset id.

Returns the value call results, or null if a callback is specified.

UsageReturns
ee.data.getAsset(id, callback)Object
ArgumentTypeDetails
idStringThe asset to be retrieved.
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.