docs/UniverseApi.md in esi_client-0.8.5.0 vs docs/UniverseApi.md in esi_client-1.0.1
- old
+ new
@@ -1,150 +1,39 @@
# ESIClient::UniverseApi
-All URIs are relative to *https://esi.evetech.net*
+All URIs are relative to *https://esi.tech.ccp.is/*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**get_universe_ancestries**](UniverseApi.md#get_universe_ancestries) | **GET** /v1/universe/ancestries/ | Get ancestries
-[**get_universe_asteroid_belts_asteroid_belt_id**](UniverseApi.md#get_universe_asteroid_belts_asteroid_belt_id) | **GET** /v1/universe/asteroid_belts/{asteroid_belt_id}/ | Get asteroid belt information
[**get_universe_bloodlines**](UniverseApi.md#get_universe_bloodlines) | **GET** /v1/universe/bloodlines/ | Get bloodlines
[**get_universe_categories**](UniverseApi.md#get_universe_categories) | **GET** /v1/universe/categories/ | Get item categories
[**get_universe_categories_category_id**](UniverseApi.md#get_universe_categories_category_id) | **GET** /v1/universe/categories/{category_id}/ | Get item category information
[**get_universe_constellations**](UniverseApi.md#get_universe_constellations) | **GET** /v1/universe/constellations/ | Get constellations
[**get_universe_constellations_constellation_id**](UniverseApi.md#get_universe_constellations_constellation_id) | **GET** /v1/universe/constellations/{constellation_id}/ | Get constellation information
-[**get_universe_factions**](UniverseApi.md#get_universe_factions) | **GET** /v2/universe/factions/ | Get factions
+[**get_universe_factions**](UniverseApi.md#get_universe_factions) | **GET** /v1/universe/factions/ | Get factions
[**get_universe_graphics**](UniverseApi.md#get_universe_graphics) | **GET** /v1/universe/graphics/ | Get graphics
[**get_universe_graphics_graphic_id**](UniverseApi.md#get_universe_graphics_graphic_id) | **GET** /v1/universe/graphics/{graphic_id}/ | Get graphic information
[**get_universe_groups**](UniverseApi.md#get_universe_groups) | **GET** /v1/universe/groups/ | Get item groups
[**get_universe_groups_group_id**](UniverseApi.md#get_universe_groups_group_id) | **GET** /v1/universe/groups/{group_id}/ | Get item group information
[**get_universe_moons_moon_id**](UniverseApi.md#get_universe_moons_moon_id) | **GET** /v1/universe/moons/{moon_id}/ | Get moon information
[**get_universe_planets_planet_id**](UniverseApi.md#get_universe_planets_planet_id) | **GET** /v1/universe/planets/{planet_id}/ | Get planet information
[**get_universe_races**](UniverseApi.md#get_universe_races) | **GET** /v1/universe/races/ | Get character races
[**get_universe_regions**](UniverseApi.md#get_universe_regions) | **GET** /v1/universe/regions/ | Get regions
[**get_universe_regions_region_id**](UniverseApi.md#get_universe_regions_region_id) | **GET** /v1/universe/regions/{region_id}/ | Get region information
[**get_universe_stargates_stargate_id**](UniverseApi.md#get_universe_stargates_stargate_id) | **GET** /v1/universe/stargates/{stargate_id}/ | Get stargate information
-[**get_universe_stars_star_id**](UniverseApi.md#get_universe_stars_star_id) | **GET** /v1/universe/stars/{star_id}/ | Get star information
[**get_universe_stations_station_id**](UniverseApi.md#get_universe_stations_station_id) | **GET** /v2/universe/stations/{station_id}/ | Get station information
[**get_universe_structures**](UniverseApi.md#get_universe_structures) | **GET** /v1/universe/structures/ | List all public structures
-[**get_universe_structures_structure_id**](UniverseApi.md#get_universe_structures_structure_id) | **GET** /v2/universe/structures/{structure_id}/ | Get structure information
+[**get_universe_structures_structure_id**](UniverseApi.md#get_universe_structures_structure_id) | **GET** /v1/universe/structures/{structure_id}/ | Get structure information
[**get_universe_system_jumps**](UniverseApi.md#get_universe_system_jumps) | **GET** /v1/universe/system_jumps/ | Get system jumps
-[**get_universe_system_kills**](UniverseApi.md#get_universe_system_kills) | **GET** /v2/universe/system_kills/ | Get system kills
+[**get_universe_system_kills**](UniverseApi.md#get_universe_system_kills) | **GET** /v1/universe/system_kills/ | Get system kills
[**get_universe_systems**](UniverseApi.md#get_universe_systems) | **GET** /v1/universe/systems/ | Get solar systems
-[**get_universe_systems_system_id**](UniverseApi.md#get_universe_systems_system_id) | **GET** /v4/universe/systems/{system_id}/ | Get solar system information
+[**get_universe_systems_system_id**](UniverseApi.md#get_universe_systems_system_id) | **GET** /v2/universe/systems/{system_id}/ | Get solar system information
[**get_universe_types**](UniverseApi.md#get_universe_types) | **GET** /v1/universe/types/ | Get types
-[**get_universe_types_type_id**](UniverseApi.md#get_universe_types_type_id) | **GET** /v3/universe/types/{type_id}/ | Get type information
-[**post_universe_ids**](UniverseApi.md#post_universe_ids) | **POST** /v1/universe/ids/ | Bulk names to IDs
+[**get_universe_types_type_id**](UniverseApi.md#get_universe_types_type_id) | **GET** /v2/universe/types/{type_id}/ | Get type information
[**post_universe_names**](UniverseApi.md#post_universe_names) | **POST** /v2/universe/names/ | Get names and categories for a set of ID's
-# **get_universe_ancestries**
-> Array<GetUniverseAncestries200Ok> get_universe_ancestries(opts)
-
-Get ancestries
-
-Get all character ancestries --- This route expires daily at 11:05
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-
-api_instance = ESIClient::UniverseApi.new
-
-opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
-}
-
-begin
- #Get ancestries
- result = api_instance.get_universe_ancestries(opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling UniverseApi->get_universe_ancestries: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
-
-### Return type
-
-[**Array<GetUniverseAncestries200Ok>**](GetUniverseAncestries200Ok.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-
-# **get_universe_asteroid_belts_asteroid_belt_id**
-> GetUniverseAsteroidBeltsAsteroidBeltIdOk get_universe_asteroid_belts_asteroid_belt_id(asteroid_belt_id, opts)
-
-Get asteroid belt information
-
-Get information on an asteroid belt --- This route expires daily at 11:05
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-
-api_instance = ESIClient::UniverseApi.new
-
-asteroid_belt_id = 56 # Integer | asteroid_belt_id integer
-
-opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
-}
-
-begin
- #Get asteroid belt information
- result = api_instance.get_universe_asteroid_belts_asteroid_belt_id(asteroid_belt_id, opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling UniverseApi->get_universe_asteroid_belts_asteroid_belt_id: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **asteroid_belt_id** | **Integer**| asteroid_belt_id integer |
- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
-
-### Return type
-
-[**GetUniverseAsteroidBeltsAsteroidBeltIdOk**](GetUniverseAsteroidBeltsAsteroidBeltIdOk.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-
# **get_universe_bloodlines**
> Array<GetUniverseBloodlines200Ok> get_universe_bloodlines(opts)
Get bloodlines
@@ -156,14 +45,14 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get bloodlines
result = api_instance.get_universe_bloodlines(opts)
@@ -175,14 +64,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **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<GetUniverseBloodlines200Ok>**](GetUniverseBloodlines200Ok.md)
@@ -190,11 +79,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_categories**
@@ -210,12 +99,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get item categories
result = api_instance.get_universe_categories(opts)
@@ -228,11 +118,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -240,11 +131,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_categories_category_id**
@@ -262,14 +153,14 @@
api_instance = ESIClient::UniverseApi.new
category_id = 56 # Integer | An Eve item category ID
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get item category information
result = api_instance.get_universe_categories_category_id(category_id, opts)
@@ -282,14 +173,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**category_id** | **Integer**| An Eve item category ID |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseCategoriesCategoryIdOk**](GetUniverseCategoriesCategoryIdOk.md)
@@ -297,11 +188,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_constellations**
@@ -317,12 +208,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get constellations
result = api_instance.get_universe_constellations(opts)
@@ -335,11 +227,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -347,11 +240,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_constellations_constellation_id**
@@ -369,14 +262,14 @@
api_instance = ESIClient::UniverseApi.new
constellation_id = 56 # Integer | constellation_id integer
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get constellation information
result = api_instance.get_universe_constellations_constellation_id(constellation_id, opts)
@@ -389,14 +282,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**constellation_id** | **Integer**| constellation_id integer |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseConstellationsConstellationIdOk**](GetUniverseConstellationsConstellationIdOk.md)
@@ -404,11 +297,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_factions**
@@ -424,14 +317,14 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get factions
result = api_instance.get_universe_factions(opts)
@@ -443,14 +336,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **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<GetUniverseFactions200Ok>**](GetUniverseFactions200Ok.md)
@@ -458,11 +351,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_graphics**
@@ -478,12 +371,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get graphics
result = api_instance.get_universe_graphics(opts)
@@ -496,11 +390,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -508,11 +403,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_graphics_graphic_id**
@@ -530,12 +425,13 @@
api_instance = ESIClient::UniverseApi.new
graphic_id = 56 # Integer | graphic_id integer
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get graphic information
result = api_instance.get_universe_graphics_graphic_id(graphic_id, opts)
@@ -549,11 +445,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**graphic_id** | **Integer**| graphic_id integer |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseGraphicsGraphicIdOk**](GetUniverseGraphicsGraphicIdOk.md)
@@ -561,11 +458,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_groups**
@@ -581,13 +478,14 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- page: 1, # Integer | Which page of results to return
+ datasource: "tranquility", # String | The server name you would like data from
+ page: 56, # Integer | Which page to query
+ 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
#Get item groups
result = api_instance.get_universe_groups(opts)
@@ -600,12 +498,13 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **page** | **Integer**| Which page of results to return | [optional] [default to 1]
+ **page** | **Integer**| Which page to query | [optional]
+ **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<Integer>**
@@ -613,11 +512,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_groups_group_id**
@@ -635,14 +534,14 @@
api_instance = ESIClient::UniverseApi.new
group_id = 56 # Integer | An Eve item group ID
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get item group information
result = api_instance.get_universe_groups_group_id(group_id, opts)
@@ -655,14 +554,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**group_id** | **Integer**| An Eve item group ID |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseGroupsGroupIdOk**](GetUniverseGroupsGroupIdOk.md)
@@ -670,11 +569,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_moons_moon_id**
@@ -692,12 +591,13 @@
api_instance = ESIClient::UniverseApi.new
moon_id = 56 # Integer | moon_id integer
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get moon information
result = api_instance.get_universe_moons_moon_id(moon_id, opts)
@@ -711,11 +611,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**moon_id** | **Integer**| moon_id integer |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseMoonsMoonIdOk**](GetUniverseMoonsMoonIdOk.md)
@@ -723,11 +624,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_planets_planet_id**
@@ -745,12 +646,13 @@
api_instance = ESIClient::UniverseApi.new
planet_id = 56 # Integer | planet_id integer
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get planet information
result = api_instance.get_universe_planets_planet_id(planet_id, opts)
@@ -764,11 +666,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**planet_id** | **Integer**| planet_id integer |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniversePlanetsPlanetIdOk**](GetUniversePlanetsPlanetIdOk.md)
@@ -776,11 +679,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_races**
@@ -796,14 +699,14 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get character races
result = api_instance.get_universe_races(opts)
@@ -815,14 +718,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **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<GetUniverseRaces200Ok>**](GetUniverseRaces200Ok.md)
@@ -830,11 +733,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_regions**
@@ -850,12 +753,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get regions
result = api_instance.get_universe_regions(opts)
@@ -868,11 +772,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -880,11 +785,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_regions_region_id**
@@ -902,14 +807,14 @@
api_instance = ESIClient::UniverseApi.new
region_id = 56 # Integer | region_id integer
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get region information
result = api_instance.get_universe_regions_region_id(region_id, opts)
@@ -922,14 +827,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**region_id** | **Integer**| region_id integer |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseRegionsRegionIdOk**](GetUniverseRegionsRegionIdOk.md)
@@ -937,11 +842,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_stargates_stargate_id**
@@ -959,12 +864,13 @@
api_instance = ESIClient::UniverseApi.new
stargate_id = 56 # Integer | stargate_id integer
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get stargate information
result = api_instance.get_universe_stargates_stargate_id(stargate_id, opts)
@@ -978,11 +884,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**stargate_id** | **Integer**| stargate_id integer |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseStargatesStargateIdOk**](GetUniverseStargatesStargateIdOk.md)
@@ -990,74 +897,21 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
-# **get_universe_stars_star_id**
-> GetUniverseStarsStarIdOk get_universe_stars_star_id(star_id, opts)
-
-Get star information
-
-Get information on a star --- This route expires daily at 11:05
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-
-api_instance = ESIClient::UniverseApi.new
-
-star_id = 56 # Integer | star_id integer
-
-opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
-}
-
-begin
- #Get star information
- result = api_instance.get_universe_stars_star_id(star_id, opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling UniverseApi->get_universe_stars_star_id: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **star_id** | **Integer**| star_id integer |
- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
-
-### Return type
-
-[**GetUniverseStarsStarIdOk**](GetUniverseStarsStarIdOk.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-
# **get_universe_stations_station_id**
> GetUniverseStationsStationIdOk get_universe_stations_station_id(station_id, opts)
Get station information
-Get information on a station --- This route expires daily at 11:05
+Get information on a station --- This route is cached for up to 300 seconds
### Example
```ruby
# load the gem
require 'esi_client'
@@ -1065,12 +919,13 @@
api_instance = ESIClient::UniverseApi.new
station_id = 56 # Integer | station_id integer
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get station information
result = api_instance.get_universe_stations_station_id(station_id, opts)
@@ -1084,11 +939,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**station_id** | **Integer**| station_id integer |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseStationsStationIdOk**](GetUniverseStationsStationIdOk.md)
@@ -1096,11 +952,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_structures**
@@ -1116,12 +972,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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 all public structures
result = api_instance.get_universe_structures(opts)
@@ -1134,11 +991,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -1146,21 +1004,21 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_structures_structure_id**
> GetUniverseStructuresStructureIdOk get_universe_structures_structure_id(structure_id, opts)
Get structure information
-Returns information on requested structure if you are on the ACL. Otherwise, returns \"Forbidden\" for all inputs. --- This route is cached for up to 3600 seconds
+Returns information on requested structure, if you are on the ACL. Otherwise, returns \"Forbidden\" for all inputs. --- This route is cached for up to 3600 seconds
### Example
```ruby
# load the gem
require 'esi_client'
@@ -1173,13 +1031,14 @@
api_instance = ESIClient::UniverseApi.new
structure_id = 789 # Integer | An Eve structure ID
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- token: 'token_example' # String | Access token to use if unable to set a header
+ datasource: "tranquility", # String | The server name you would like data from
+ token: "token_example", # String | Access token to use, if preferred over a header
+ 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
#Get structure information
result = api_instance.get_universe_structures_structure_id(structure_id, opts)
@@ -1193,12 +1052,13 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**structure_id** | **Integer**| An Eve structure ID |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **token** | **String**| Access token to use if unable to set a header | [optional]
+ **token** | **String**| Access token to use, if preferred over a header | [optional]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseStructuresStructureIdOk**](GetUniverseStructuresStructureIdOk.md)
@@ -1206,32 +1066,33 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_system_jumps**
> Array<GetUniverseSystemJumps200Ok> get_universe_system_jumps(opts)
Get system jumps
-Get the number of jumps in solar systems within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with jumps will be listed --- This route is cached for up to 3600 seconds
+Get the number of jumps in solar systems within the last hour, excluding wormhole space. Only systems with jumps will be listed --- This route is cached for up to 3600 seconds
### Example
```ruby
# load the gem
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get system jumps
result = api_instance.get_universe_system_jumps(opts)
@@ -1244,11 +1105,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<GetUniverseSystemJumps200Ok>**](GetUniverseSystemJumps200Ok.md)
@@ -1256,32 +1118,33 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_system_kills**
> Array<GetUniverseSystemKills200Ok> get_universe_system_kills(opts)
Get system kills
-Get the number of ship, pod and NPC kills per solar system within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with kills will be listed --- This route is cached for up to 3600 seconds
+Get the number of ship, pod and NPC kills per solar system within the last hour, excluding wormhole space. Only systems with kills will be listed --- This route is cached for up to 3600 seconds
### Example
```ruby
# load the gem
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get system kills
result = api_instance.get_universe_system_kills(opts)
@@ -1294,11 +1157,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<GetUniverseSystemKills200Ok>**](GetUniverseSystemKills200Ok.md)
@@ -1306,11 +1170,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_systems**
@@ -1326,12 +1190,13 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
+ 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
#Get solar systems
result = api_instance.get_universe_systems(opts)
@@ -1344,11 +1209,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
+ **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<Integer>**
@@ -1356,21 +1222,21 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_systems_system_id**
> GetUniverseSystemsSystemIdOk get_universe_systems_system_id(system_id, opts)
Get solar system information
-Get information on a solar system. --- This route expires daily at 11:05
+Get information on a solar system --- This route expires daily at 11:05
### Example
```ruby
# load the gem
require 'esi_client'
@@ -1378,14 +1244,14 @@
api_instance = ESIClient::UniverseApi.new
system_id = 56 # Integer | system_id integer
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get solar system information
result = api_instance.get_universe_systems_system_id(system_id, opts)
@@ -1398,14 +1264,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**system_id** | **Integer**| system_id integer |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseSystemsSystemIdOk**](GetUniverseSystemsSystemIdOk.md)
@@ -1413,11 +1279,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_types**
@@ -1433,13 +1299,14 @@
require 'esi_client'
api_instance = ESIClient::UniverseApi.new
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- page: 1, # Integer | Which page of results to return
+ datasource: "tranquility", # String | The server name you would like data from
+ page: 56, # Integer | Which page to query
+ 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
#Get types
result = api_instance.get_universe_types(opts)
@@ -1452,12 +1319,13 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **page** | **Integer**| Which page of results to return | [optional] [default to 1]
+ **page** | **Integer**| Which page to query | [optional]
+ **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<Integer>**
@@ -1465,11 +1333,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
# **get_universe_types_type_id**
@@ -1487,14 +1355,14 @@
api_instance = ESIClient::UniverseApi.new
type_id = 56 # Integer | An Eve item type ID
opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
+ datasource: "tranquility", # String | The server name you would like data from
+ language: "en-us", # String | Language to use in the response
+ 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
#Get type information
result = api_instance.get_universe_types_type_id(type_id, opts)
@@ -1507,14 +1375,14 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**type_id** | **Integer**| An Eve item type ID |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
+ **language** | **String**| Language to use in the response | [optional] [default to en-us]
+ **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
+ **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetUniverseTypesTypeIdOk**](GetUniverseTypesTypeIdOk.md)
@@ -1522,70 +1390,15 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
-# **post_universe_ids**
-> PostUniverseIdsOk post_universe_ids(names, opts)
-
-Bulk names to IDs
-
-Resolve a set of names to IDs in the following categories: agents, alliances, characters, constellations, corporations factions, inventory_types, regions, stations, and systems. Only exact matches will be returned. All names searched for are cached for 12 hours. ---
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-
-api_instance = ESIClient::UniverseApi.new
-
-names = [ESIClient::Array<String>.new] # Array<String> | The names to resolve
-
-opts = {
- accept_language: 'en-us', # String | Language to use in the response
- datasource: 'tranquility', # String | The server name you would like data from
- language: 'en-us' # String | Language to use in the response, takes precedence over Accept-Language
-}
-
-begin
- #Bulk names to IDs
- result = api_instance.post_universe_ids(names, opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling UniverseApi->post_universe_ids: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **names** | **Array<String>**| The names to resolve |
- **accept_language** | **String**| Language to use in the response | [optional] [default to en-us]
- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **language** | **String**| Language to use in the response, takes precedence over Accept-Language | [optional] [default to en-us]
-
-### Return type
-
-[**PostUniverseIdsOk**](PostUniverseIdsOk.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
-
# **post_universe_names**
> Array<PostUniverseNames200Ok> post_universe_names(ids, opts)
Get names and categories for a set of ID's
@@ -1599,11 +1412,13 @@
api_instance = ESIClient::UniverseApi.new
ids = [ESIClient::Array<Integer>.new] # Array<Integer> | The ids to resolve
opts = {
- datasource: 'tranquility', # String | The server name you would like data from
+ 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
#Get names and categories for a set of ID's
result = api_instance.post_universe_names(ids, opts)
@@ -1617,10 +1432,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ids** | **Array<Integer>**| The ids to resolve |
**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<PostUniverseNames200Ok>**](PostUniverseNames200Ok.md)
@@ -1628,10 +1445,10 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json