cf-node-client
momo auto_awesome BUY CLAUDE KIT WITH 20% OFF coffee BUY ME COFFEE

Class: AppsCopy

AppsCopy()

AppsCopy — copy and download operations for CF Applications. Methods: copyBits, copyPackage, downloadBits, downloadDroplet

Constructor

new AppsCopy()

Source:

Methods

copyBits(appGuid, sourceAppGuid) → {Promise}

Copy app bits from one app to another (v2 only).
Parameters:
Name Type Description
appGuid String Target app GUID
sourceAppGuid String Source app GUID
Source:
Returns:
Type
Promise

copyPackage(sourcePackageGuid, targetAppGuid) → {Promise}

Copy a package from one app to another (v3 only).
Parameters:
Name Type Description
sourcePackageGuid String
targetAppGuid String
Source:
Returns:
Type
Promise

downloadBits(guid) → {Promise}

Download app bits (v2) or package bits (v3).
Parameters:
Name Type Description
guid String App GUID (v2) or Package GUID (v3)
Source:
Returns:
Binary buffer
Type
Promise

downloadDroplet(dropletGuid) → {Promise}

Download a droplet (v3 only).
Parameters:
Name Type Description
dropletGuid String
Source:
Returns:
Binary buffer
Type
Promise