Skip to main content

SwaggerClient::PeeringApi

All URIs are relative to https://api.estuary.tech

MethodHTTP requestDescription
admin_peering_peers_deleteDELETE /admin/peering/peersRemove peers on Peering Service
admin_peering_peers_getGET /admin/peering/peersList all Peering peers
admin_peering_peers_postPOST /admin/peering/peersAdd peers on Peering Service
admin_peering_start_postPOST /admin/peering/startStart Peering
admin_peering_status_getGET /admin/peering/statusCheck Peering Status
admin_peering_stop_postPOST /admin/peering/stopStop Peering

admin_peering_peers_delete

admin_peering_peers_delete(body)

Remove peers on Peering Service

This endpoint can be used to remove a Peer from the Peering Service

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

body = [SwaggerClient::Array<String>.new] # Array<String> | Peer ids


begin
#Remove peers on Peering Service
api_instance.admin_peering_peers_delete(body)
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_peers_delete: #{e}"
end

Parameters

NameTypeDescriptionNotes
bodyArray<String>Peer ids

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

admin_peering_peers_get

admin_peering_peers_get

List all Peering peers

This endpoint can be used to list all peers on Peering Service

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

begin
#List all Peering peers
api_instance.admin_peering_peers_get
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_peers_get: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

admin_peering_peers_post

admin_peering_peers_post

Add peers on Peering Service

This endpoint can be used to add a Peer from the Peering Service

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

begin
#Add peers on Peering Service
api_instance.admin_peering_peers_post
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_peers_post: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

admin_peering_start_post

admin_peering_start_post

Start Peering

This endpoint can be used to start the Peering Service

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

begin
#Start Peering
api_instance.admin_peering_start_post
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_start_post: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

admin_peering_status_get

admin_peering_status_get

Check Peering Status

This endpoint can be used to check the Peering status

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

begin
#Check Peering Status
api_instance.admin_peering_status_get
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_status_get: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

admin_peering_stop_post

admin_peering_stop_post

Stop Peering

This endpoint can be used to stop the Peering Service

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: bearerAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end

api_instance = SwaggerClient::PeeringApi.new

begin
#Stop Peering
api_instance.admin_peering_stop_post
rescue SwaggerClient::ApiError => e
puts "Exception when calling PeeringApi->admin_peering_stop_post: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

nil (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json