docs/ClonesApi.md in esi_client-0.4.7 vs docs/ClonesApi.md in esi_client-0.7.6.1

- old
+ new

@@ -1,12 +1,13 @@ # ESIClient::ClonesApi -All URIs are relative to *https://esi.tech.ccp.is/* +All URIs are relative to *https://esi.tech.ccp.is* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_characters_character_id_clones**](ClonesApi.md#get_characters_character_id_clones) | **GET** /v2/characters/{character_id}/clones/ | Get clones +[**get_characters_character_id_clones**](ClonesApi.md#get_characters_character_id_clones) | **GET** /v3/characters/{character_id}/clones/ | Get clones +[**get_characters_character_id_implants**](ClonesApi.md#get_characters_character_id_implants) | **GET** /v1/characters/{character_id}/implants/ | Get active implants # **get_characters_character_id_clones** > GetCharactersCharacterIdClonesOk get_characters_character_id_clones(character_id, opts) @@ -27,14 +28,14 @@ api_instance = ESIClient::ClonesApi.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 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 + 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 clones result = api_instance.get_characters_character_id_clones(character_id, opts) @@ -48,16 +49,78 @@ 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 preferred over a header | [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 [**GetCharactersCharacterIdClonesOk**](GetCharactersCharacterIdClonesOk.md) + +### Authorization + +[evesso](../README.md#evesso) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + + +# **get_characters_character_id_implants** +> Array<Integer> get_characters_character_id_implants(character_id, opts) + +Get active implants + +Return implants on the active clone of a character --- 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::ClonesApi.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 active implants + result = api_instance.get_characters_character_id_implants(character_id, opts) + p result +rescue ESIClient::ApiError => e + puts "Exception when calling ClonesApi->get_characters_character_id_implants: #{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<Integer>** ### Authorization [evesso](../README.md#evesso)