reference
Class: RequestorApi
utils/yagna/gsb.RequestorApi
Hierarchy
BaseAPI
↳
RequestorApi
Implements
GsbRequestorApi
Table of contents
Constructors
Methods
Constructors
constructor
• new RequestorApi(configuration?
, basePath?
, axios?
)
Parameters
Name | Type |
---|---|
configuration? | Configuration |
basePath? | string |
axios? | AxiosInstance |
Inherited from
BaseAPI.constructor
Defined in
node_modules/ya-ts-client/dist/ya-net/base.d.ts:43
Methods
createService
▸ createService(fileInfo
, components
): Promise
<AxiosResponse
<ServiceModel
, any
>>
Parameters
Name | Type |
---|---|
fileInfo | GftpFileInfo |
components | string [] |
Returns
Promise
<AxiosResponse
<ServiceModel
, any
>>
Implementation of
GsbRequestorApi.createService
Defined in
deleteService
▸ deleteService(id
): Promise
<AxiosResponse
<void
, any
>>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<AxiosResponse
<void
, any
>>
Implementation of
GsbRequestorApi.deleteService