docs/ClonesApi.md in esi_client-0.8.5.0 vs docs/ClonesApi.md in esi_client-1.0.1

- old
+ new

@@ -1,13 +1,12 @@ # ESIClient::ClonesApi -All URIs are relative to *https://esi.evetech.net* +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** /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**](ClonesApi.md#get_characters_character_id_clones) | **GET** /v2/characters/{character_id}/clones/ | Get clones # **get_characters_character_id_clones** > GetCharactersCharacterIdClonesOk get_characters_character_id_clones(character_id, opts) @@ -28,13 +27,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 - 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 clones result = api_instance.get_characters_character_id_clones(character_id, opts) @@ -48,12 +48,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] - **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 [**GetCharactersCharacterIdClonesOk**](GetCharactersCharacterIdClonesOk.md) @@ -61,70 +62,10 @@ [evesso](../README.md#evesso) ### HTTP request headers - - **Content-Type**: application/json - - **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 - 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 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] - **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] - -### Return type - -**Array<Integer>** - -### Authorization - -[evesso](../README.md#evesso) - -### HTTP request headers - - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json