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

NameType
configuration?Configuration
basePath?string
axios?AxiosInstance

Returns

RequestorApi

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

NameType
fileInfoGftpFileInfo
componentsstring[]

Returns

Promise<ServiceModel>

Implementation of

GsbRequestorApi.createService

Defined in

src/utils/yagna/gsb.ts:21


deleteService

deleteService(id): Promise<void>

Parameters

NameType
idstring

Returns

Promise<void>

Implementation of

GsbRequestorApi.deleteService

Defined in

src/utils/yagna/gsb.ts:45