Class: PeersApi
PeersApi - object-oriented interface
Export
Hierarchy
↳
PeersApi
Table of contents
Constructors
Properties
Methods
- adminPeeringPeersDelete
- adminPeeringPeersGet
- adminPeeringPeersPost
- adminPeeringStartPost
- adminPeeringStatusGet
- adminPeeringStopPost
Constructors
constructor
• new PeersApi(configuration?
, basePath?
, fetch?
)
Parameters
Name | Type | Default value |
---|---|---|
configuration? | Configuration | undefined |
basePath | string | BASE_PATH |
fetch | FetchAPI | portableFetch |
Inherited from
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:60
Properties
basePath
• Protected
basePath: string
= BASE_PATH
Inherited from
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:60
configuration
• Protected
configuration: Configuration
Inherited from
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:58
fetch
• Protected
fetch: FetchAPI
= portableFetch
Inherited from
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:60
Methods
adminPeeringPeersDelete
▸ adminPeeringPeersDelete(body
, options?
): Promise
<Response
>
This endpoint can be used to remove a Peer from the Peering Service
Summary
Remove peers on Peering Service
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
body | string [] | Peer ids |
options? | any | Override http request option. |
Returns
Promise
<Response
>
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:6127
adminPeeringPeersGet
▸ adminPeeringPeersGet(options?
): Promise
<Response
>
This endpoint can be used to list all peers on Peering Service
Summary
List all Peering peers
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
options? | any | Override http request option. |
Returns
Promise
<Response
>
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:6138
adminPeeringPeersPost
▸ adminPeeringPeersPost(options?
): Promise
<Response
>
This endpoint can be used to add a Peer from the Peering Service
Summary
Add peers on Peering Service
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
options? | any | Override http request option. |
Returns
Promise
<Response
>
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:6149
adminPeeringStartPost
▸ adminPeeringStartPost(options?
): Promise
<Response
>
This endpoint can be used to start the Peering Service
Summary
Start Peering
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
options? | any | Override http request option. |
Returns
Promise
<Response
>
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:6160
adminPeeringStatusGet
▸ adminPeeringStatusGet(options?
): Promise
<Response
>
This endpoint can be used to check the Peering status
Summary
Check Peering Status
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
options? | any | Override http request option. |
Returns
Promise
<Response
>
Defined in
dev/estuary/estuary-clients/typescript-fetch/api.ts:6171
adminPeeringStopPost
▸ adminPeeringStopPost(options?
): Promise
<Response
>
This endpoint can be used to stop the Peering Service
Summary
Stop Peering
Throws
Memberof
PeersApi
Parameters
Name | Type | Description |
---|---|---|
options? | any | Override http request option. |
Returns
Promise
<Response
>