Skip to main content

WWW::SwaggerClient::AdminApi

Load the API package

use WWW::SwaggerClient::Object::AdminApi;

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_system_config_getGET /admin/system/configGet systems(estuary/shuttle) config
admin_users_getGET /admin/usersGet all users

admin_peering_peers_delete

admin_peering_peers_delete(body => $body)

Remove peers on Peering Service

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

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);

my $body = [WWW::SwaggerClient::Object::ARRAY[string]->new()]; # ARRAY[string] | Peer ids

eval {
$api_instance->admin_peering_peers_delete(body => $body);
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_peers_delete: $@\n";
}

Parameters

NameTypeDescriptionNotes
bodyARRAY[string]Peer ids

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

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

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_peering_peers_get();
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_peers_get: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

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

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_peering_peers_post();
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_peers_post: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

admin_peering_start_post

admin_peering_start_post()

Start Peering

This endpoint can be used to start the Peering Service

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_peering_start_post();
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_start_post: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

admin_peering_status_get

admin_peering_status_get()

Check Peering Status

This endpoint can be used to check the Peering status

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_peering_status_get();
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_status_get: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

admin_peering_stop_post

admin_peering_stop_post()

Stop Peering

This endpoint can be used to stop the Peering Service

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_peering_stop_post();
};
if ($@) {
warn "Exception when calling AdminApi->admin_peering_stop_post: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

admin_system_config_get

admin_system_config_get()

Get systems(estuary/shuttle) config

This endpoint is used to get system configs.

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_system_config_get();
};
if ($@) {
warn "Exception when calling AdminApi->admin_system_config_get: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

admin_users_get

admin_users_get()

Get all users

This endpoint is used to get all users.

Example

use Data::Dumper;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new(

# Configure API key authorization: bearerAuth
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);


eval {
$api_instance->admin_users_get();
};
if ($@) {
warn "Exception when calling AdminApi->admin_users_get: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]