Usage | Returns |
---|---|
ee.data.copyAsset(sourceId, destinationId, overwrite, callback) |
Argument | Type | Details |
---|---|---|
sourceId | String | The ID of the asset to copy. |
destinationId | String | The ID of the new asset created by copying. |
overwrite | Boolean, optional | Overwrite any existing destination asset ID. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object and an error message, if any. |