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

NameType
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

NameType
fileInfoGftpFileInfo
componentsstring[]

Returns

Promise<AxiosResponse<ServiceModel, any>>

Implementation of

GsbRequestorApi.createService

Defined in

src/utils/yagna/gsb.ts:20


deleteService

deleteService(id): Promise<AxiosResponse<void, any>>

Parameters

NameType
idstring

Returns

Promise<AxiosResponse<void, any>>

Implementation of

GsbRequestorApi.deleteService

Defined in

src/utils/yagna/gsb.ts:35