Class GaiaServiceApiClient
Methods
Static retrieve
- retrieve(readURLPrefix: string, filename: string, address: string, cacheStorage: StorageService): Promise<any>
-
Parameters
-
readURLPrefix: string
-
filename: string
-
address: string
-
Returns Promise<any>
Static store
- store(gaiaHub: string, filename: string, address: string, authToken: string, contents: string, contentType?: string): Promise<object>
-
Parameters
-
gaiaHub: string
-
filename: string
-
address: string
-
authToken: string
-
contents: string
-
Default value contentType: string = "application/octet-stream"
Returns Promise<object>