sfapi-ts

Home > @cjh1/sfapi > StorageService

StorageService class

Signature:

export declare class StorageService 

Constructors

Constructor Modifiers Description
(constructor)(httpRequest)   Constructs a new instance of the StorageService class

Properties

Property Modifiers Type Description
httpRequest readonly BaseHttpRequest  

Methods

Method Modifiers Description
startTransfer(formData)   <p>Start Transfer Initiate a Globus transfer.</p><p>Before calling this method, make sure you have a valid [globus token](https://docs.nersc.gov/services/globus/#generate-a-globus-token-for-use-at-nersc) and have activated the endpoints you want to use.</p><p>- **source**: source endpoint UUID - **target**: target endpoint UUID - **outdir**: target endpoint output directory - **infile**: file containing list of full path of input files - **username**: (optional) run this operation as another user (needs special permission)</p><p>You can use special UUID-s of “dtn”, “hpss” or “cori”.</p>