# ESIClient::SovereigntyApi All URIs are relative to *https://esi.tech.ccp.is* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_sovereignty_campaigns**](SovereigntyApi.md#get_sovereignty_campaigns) | **GET** /v1/sovereignty/campaigns/ | List sovereignty campaigns [**get_sovereignty_map**](SovereigntyApi.md#get_sovereignty_map) | **GET** /v1/sovereignty/map/ | List sovereignty of systems [**get_sovereignty_structures**](SovereigntyApi.md#get_sovereignty_structures) | **GET** /v1/sovereignty/structures/ | List sovereignty structures # **get_sovereignty_campaigns** > Array<GetSovereigntyCampaigns200Ok> get_sovereignty_campaigns(opts) List sovereignty campaigns Shows sovereignty data for campaigns. --- This route is cached for up to 5 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::SovereigntyApi.new opts = { datasource: 'tranquility', # String | The server name you would like data from user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #List sovereignty campaigns result = api_instance.get_sovereignty_campaigns(opts) p result rescue ESIClient::ApiError => e puts "Exception when calling SovereigntyApi->get_sovereignty_campaigns: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**Array<GetSovereigntyCampaigns200Ok>**](GetSovereigntyCampaigns200Ok.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_sovereignty_map** > Array<GetSovereigntyMap200Ok> get_sovereignty_map(opts) List sovereignty of systems Shows sovereignty information for solar systems --- This route is cached for up to 3600 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::SovereigntyApi.new opts = { datasource: 'tranquility', # String | The server name you would like data from user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #List sovereignty of systems result = api_instance.get_sovereignty_map(opts) p result rescue ESIClient::ApiError => e puts "Exception when calling SovereigntyApi->get_sovereignty_map: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**Array<GetSovereigntyMap200Ok>**](GetSovereigntyMap200Ok.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_sovereignty_structures** > Array<GetSovereigntyStructures200Ok> get_sovereignty_structures(opts) List sovereignty structures Shows sovereignty data for structures. --- This route is cached for up to 120 seconds ### Example ```ruby # load the gem require 'esi_client' api_instance = ESIClient::SovereigntyApi.new opts = { datasource: 'tranquility', # String | The server name you would like data from user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #List sovereignty structures result = api_instance.get_sovereignty_structures(opts) p result rescue ESIClient::ApiError => e puts "Exception when calling SovereigntyApi->get_sovereignty_structures: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**Array<GetSovereigntyStructures200Ok>**](GetSovereigntyStructures200Ok.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json