docs/CharacterApi.md in esi_client-0.7.6.2 vs docs/CharacterApi.md in esi_client-0.8.5.0
- old
+ new
@@ -1,26 +1,24 @@
# ESIClient::CharacterApi
-All URIs are relative to *https://esi.tech.ccp.is*
+All URIs are relative to *https://esi.evetech.net*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_characters_character_id**](CharacterApi.md#get_characters_character_id) | **GET** /v4/characters/{character_id}/ | Get character's public information
[**get_characters_character_id_agents_research**](CharacterApi.md#get_characters_character_id_agents_research) | **GET** /v1/characters/{character_id}/agents_research/ | Get agents research
[**get_characters_character_id_blueprints**](CharacterApi.md#get_characters_character_id_blueprints) | **GET** /v2/characters/{character_id}/blueprints/ | Get blueprints
-[**get_characters_character_id_chat_channels**](CharacterApi.md#get_characters_character_id_chat_channels) | **GET** /v1/characters/{character_id}/chat_channels/ | Get chat channels
[**get_characters_character_id_corporationhistory**](CharacterApi.md#get_characters_character_id_corporationhistory) | **GET** /v1/characters/{character_id}/corporationhistory/ | Get corporation history
[**get_characters_character_id_fatigue**](CharacterApi.md#get_characters_character_id_fatigue) | **GET** /v1/characters/{character_id}/fatigue/ | Get jump fatigue
[**get_characters_character_id_medals**](CharacterApi.md#get_characters_character_id_medals) | **GET** /v1/characters/{character_id}/medals/ | Get medals
-[**get_characters_character_id_notifications**](CharacterApi.md#get_characters_character_id_notifications) | **GET** /v1/characters/{character_id}/notifications/ | Get character notifications
+[**get_characters_character_id_notifications**](CharacterApi.md#get_characters_character_id_notifications) | **GET** /v2/characters/{character_id}/notifications/ | Get character notifications
[**get_characters_character_id_notifications_contacts**](CharacterApi.md#get_characters_character_id_notifications_contacts) | **GET** /v1/characters/{character_id}/notifications/contacts/ | Get new contact notifications
[**get_characters_character_id_portrait**](CharacterApi.md#get_characters_character_id_portrait) | **GET** /v2/characters/{character_id}/portrait/ | Get character portraits
[**get_characters_character_id_roles**](CharacterApi.md#get_characters_character_id_roles) | **GET** /v2/characters/{character_id}/roles/ | Get character corporation roles
[**get_characters_character_id_standings**](CharacterApi.md#get_characters_character_id_standings) | **GET** /v1/characters/{character_id}/standings/ | Get standings
[**get_characters_character_id_stats**](CharacterApi.md#get_characters_character_id_stats) | **GET** /v2/characters/{character_id}/stats/ | Yearly aggregate stats
[**get_characters_character_id_titles**](CharacterApi.md#get_characters_character_id_titles) | **GET** /v1/characters/{character_id}/titles/ | Get character corporation titles
-[**get_characters_names**](CharacterApi.md#get_characters_names) | **GET** /v1/characters/names/ | Get character names
[**post_characters_affiliation**](CharacterApi.md#post_characters_affiliation) | **POST** /v1/characters/affiliation/ | Character affiliation
[**post_characters_character_id_cspa**](CharacterApi.md#post_characters_character_id_cspa) | **POST** /v4/characters/{character_id}/cspa/ | Calculate a CSPA charge cost
# **get_characters_character_id**
@@ -39,12 +37,11 @@
character_id = 56 # Integer | An EVE character ID
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
+ 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 character's public information
result = api_instance.get_characters_character_id(character_id, opts)
@@ -58,12 +55,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character ID |
**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]
+ **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
### Return type
[**GetCharactersCharacterIdOk**](GetCharactersCharacterIdOk.md)
@@ -71,11 +67,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_agents_research**
@@ -99,13 +95,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get agents research
result = api_instance.get_characters_character_id_agents_research(character_id, opts)
@@ -119,13 +114,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdAgentsResearch200Ok>**](GetCharactersCharacterIdAgentsResearch200Ok.md)
@@ -133,11 +127,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_blueprints**
@@ -161,14 +155,13 @@
character_id = 56 # Integer | An EVE character 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
page: 1, # Integer | Which page of results to return
- token: 'token_example', # String | Access token to use if unable to set 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
+ token: 'token_example' # String | Access token to use if unable to set a header
}
begin
#Get blueprints
result = api_instance.get_characters_character_id_blueprints(character_id, opts)
@@ -182,14 +175,13 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
**page** | **Integer**| Which page of results to return | [optional] [default to 1]
**token** | **String**| Access token to use if unable to set 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
[**Array<GetCharactersCharacterIdBlueprints200Ok>**](GetCharactersCharacterIdBlueprints200Ok.md)
@@ -197,77 +189,15 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
-# **get_characters_character_id_chat_channels**
-> Array<GetCharactersCharacterIdChatChannels200Ok> get_characters_character_id_chat_channels(character_id, opts)
-
-Get chat channels
-
-Return chat channels that a character is the owner or operator of --- This route is cached for up to 300 seconds
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-# setup authorization
-ESIClient.configure do |config|
- # Configure OAuth2 access token for authorization: evesso
- config.access_token = 'YOUR ACCESS TOKEN'
-end
-
-api_instance = ESIClient::CharacterApi.new
-
-character_id = 56 # Integer | An EVE character ID
-
-opts = {
- datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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 chat channels
- result = api_instance.get_characters_character_id_chat_channels(character_id, opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling CharacterApi->get_characters_character_id_chat_channels: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **character_id** | **Integer**| An EVE character ID |
- **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
- **token** | **String**| Access token to use if unable to set 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
-
-[**Array<GetCharactersCharacterIdChatChannels200Ok>**](GetCharactersCharacterIdChatChannels200Ok.md)
-
-### Authorization
-
-[evesso](../README.md#evesso)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-
# **get_characters_character_id_corporationhistory**
> Array<GetCharactersCharacterIdCorporationhistory200Ok> get_characters_character_id_corporationhistory(character_id, opts)
Get corporation history
@@ -282,12 +212,11 @@
character_id = 56 # Integer | An EVE character ID
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
+ 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 corporation history
result = api_instance.get_characters_character_id_corporationhistory(character_id, opts)
@@ -301,12 +230,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character ID |
**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]
+ **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
### Return type
[**Array<GetCharactersCharacterIdCorporationhistory200Ok>**](GetCharactersCharacterIdCorporationhistory200Ok.md)
@@ -314,11 +242,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_fatigue**
@@ -342,13 +270,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get jump fatigue
result = api_instance.get_characters_character_id_fatigue(character_id, opts)
@@ -362,13 +289,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
- **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetCharactersCharacterIdFatigueOk**](GetCharactersCharacterIdFatigueOk.md)
@@ -376,11 +302,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_medals**
@@ -404,13 +330,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get medals
result = api_instance.get_characters_character_id_medals(character_id, opts)
@@ -424,13 +349,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdMedals200Ok>**](GetCharactersCharacterIdMedals200Ok.md)
@@ -438,21 +362,21 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_notifications**
> Array<GetCharactersCharacterIdNotifications200Ok> get_characters_character_id_notifications(character_id, opts)
Get character notifications
-Return character notifications --- This route is cached for up to 600 seconds --- [This route has an available update](https://esi.tech.ccp.is/diff/latest/dev/#GET-/characters/{character_id}/notifications/)
+Return character notifications --- This route is cached for up to 600 seconds --- Warning: This route has an upgrade available. --- [Diff of the upcoming changes](https://esi.evetech.net/diff/latest/dev/#GET-/characters/{character_id}/notifications/)
### Example
```ruby
# load the gem
require 'esi_client'
@@ -466,13 +390,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get character notifications
result = api_instance.get_characters_character_id_notifications(character_id, opts)
@@ -486,13 +409,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdNotifications200Ok>**](GetCharactersCharacterIdNotifications200Ok.md)
@@ -500,11 +422,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_notifications_contacts**
@@ -528,13 +450,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get new contact notifications
result = api_instance.get_characters_character_id_notifications_contacts(character_id, opts)
@@ -548,13 +469,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdNotificationsContacts200Ok>**](GetCharactersCharacterIdNotificationsContacts200Ok.md)
@@ -562,11 +482,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_portrait**
@@ -585,12 +505,11 @@
character_id = 56 # Integer | An EVE character ID
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
+ 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 character portraits
result = api_instance.get_characters_character_id_portrait(character_id, opts)
@@ -604,12 +523,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character ID |
**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]
+ **if_none_match** | **String**| ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional]
### Return type
[**GetCharactersCharacterIdPortraitOk**](GetCharactersCharacterIdPortraitOk.md)
@@ -617,11 +535,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_roles**
@@ -645,13 +563,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get character corporation roles
result = api_instance.get_characters_character_id_roles(character_id, opts)
@@ -665,13 +582,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **user_agent** | **String**| Client identifier, takes precedence over headers | [optional]
- **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional]
### Return type
[**GetCharactersCharacterIdRolesOk**](GetCharactersCharacterIdRolesOk.md)
@@ -679,11 +595,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_standings**
@@ -707,13 +623,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get standings
result = api_instance.get_characters_character_id_standings(character_id, opts)
@@ -727,13 +642,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdStandings200Ok>**](GetCharactersCharacterIdStandings200Ok.md)
@@ -741,11 +655,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_stats**
@@ -769,13 +683,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Yearly aggregate stats
result = api_instance.get_characters_character_id_stats(character_id, opts)
@@ -789,13 +702,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdStats200Ok>**](GetCharactersCharacterIdStats200Ok.md)
@@ -803,11 +715,11 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **get_characters_character_id_titles**
@@ -831,13 +743,12 @@
character_id = 56 # Integer | An EVE character ID
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ 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
}
begin
#Get character corporation titles
result = api_instance.get_characters_character_id_titles(character_id, opts)
@@ -851,13 +762,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character 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]
- **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<GetCharactersCharacterIdTitles200Ok>**](GetCharactersCharacterIdTitles200Ok.md)
@@ -865,70 +775,15 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
-# **get_characters_names**
-> Array<GetCharactersNames200Ok> get_characters_names(character_ids, opts)
-
-Get character names
-
-Resolve a set of character IDs to character names --- This route is cached for up to 3600 seconds
-
-### Example
-```ruby
-# load the gem
-require 'esi_client'
-
-api_instance = ESIClient::CharacterApi.new
-
-character_ids = [56] # Array<Integer> | A comma separated list of character IDs
-
-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
- #Get character names
- result = api_instance.get_characters_names(character_ids, opts)
- p result
-rescue ESIClient::ApiError => e
- puts "Exception when calling CharacterApi->get_characters_names: #{e}"
-end
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **character_ids** | [**Array<Integer>**](Integer.md)| A comma separated list of character IDs |
- **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<GetCharactersNames200Ok>**](GetCharactersNames200Ok.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-
-
# **post_characters_affiliation**
> Array<PostCharactersAffiliation200Ok> post_characters_affiliation(characters, opts)
Character affiliation
@@ -943,12 +798,10 @@
characters = [ESIClient::Array<Integer>.new] # Array<Integer> | The character IDs to fetch affiliations for. All characters must exist, or none will be returned.
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
#Character affiliation
result = api_instance.post_characters_affiliation(characters, opts)
@@ -962,12 +815,10 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**characters** | **Array<Integer>**| The character IDs to fetch affiliations for. All characters must exist, or none will be returned. |
**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<PostCharactersAffiliation200Ok>**](PostCharactersAffiliation200Ok.md)
@@ -975,11 +826,11 @@
No authorization required
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
# **post_characters_character_id_cspa**
@@ -1005,13 +856,11 @@
characters = [ESIClient::Array<Integer>.new] # Array<Integer> | The target characters to calculate the charge for
opts = {
datasource: 'tranquility', # String | The server name you would like data from
- token: 'token_example', # String | Access token to use if unable to set 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
+ token: 'token_example' # String | Access token to use if unable to set a header
}
begin
#Calculate a CSPA charge cost
result = api_instance.post_characters_character_id_cspa(character_idcharacters, opts)
@@ -1027,12 +876,10 @@
------------- | ------------- | ------------- | -------------
**character_id** | **Integer**| An EVE character ID |
**characters** | **Array<Integer>**| The target characters to calculate the charge for |
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
**token** | **String**| Access token to use if unable to set 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
**Float**
@@ -1040,10 +887,10 @@
[evesso](../README.md#evesso)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json