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