StorageServiceClientI
Api Code Documentation / Exports / service/Client_storage_service.h / StorageServiceClientI
service/Client_storage_service.h.StorageServiceClientI
#
Implemented by#
Table of contents#
Methods#
Methods#
downloadObjectâ–¸ downloadObject(id
, secret
): Promise
<Type
<StorageObject
>>
Download an object using the matching secret
#
ParametersName | Type | Description |
---|---|---|
id | string | id of object stored |
secret | string | secret to access the object's data |
#
ReturnsPromise
<Type
<StorageObject
>>
#
Defined insrc/service/Client_storage_service.h.ts:46
#
getVersionâ–¸ getVersion(): Promise
<Version
>
Get version of conncted storage service
#
ReturnsPromise
<Version
>
#
Defined insrc/service/Client_storage_service.h.ts:31
#
isReadyâ–¸ isReady(): Promise
<boolean
>
Get readiness sattus of storage service
#
ReturnsPromise
<boolean
>
#
Defined insrc/service/Client_storage_service.h.ts:26
#
uploadObjectâ–¸ uploadObject(id
, name
, data
): Promise
<Type
<UploadResponse
>>
Upload an object using the
#
ParametersName | Type | Description |
---|---|---|
id | string | id of object |
name | string | name of object |
data | string | content of uploaded object base64 encoded |
#
ReturnsPromise
<Type
<UploadResponse
>>