docs/RoutesApi.md in esi_client-0.8.5.0 vs docs/RoutesApi.md in esi_client-1.0.1
- old
+ new
@@ -1,8 +1,8 @@
# ESIClient::RoutesApi
-All URIs are relative to *https://esi.evetech.net*
+All URIs are relative to *https://esi.tech.ccp.is/*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_route_origin_destination**](RoutesApi.md#get_route_origin_destination) | **GET** /v1/route/{origin}/{destination}/ | Get route
@@ -26,13 +26,14 @@
origin = 56 # Integer | origin solar system ID
opts = {
avoid: [56], # Array<Integer> | avoid solar system ID(s)
connections: [ESIClient::Array<Integer>.new], # Array<Array<Integer>> | connected solar system pairs
- datasource: 'tranquility', # String | The server name you would like data from
- flag: 'shortest', # String | route security preference
- 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
+ flag: "shortest", # String | route security preference
+ 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 route
result = api_instance.get_route_origin_destination(destination, origin, opts)
@@ -50,11 +51,12 @@
**origin** | **Integer**| origin solar system ID |
**avoid** | [**Array<Integer>**](Integer.md)| avoid solar system ID(s) | [optional]
**connections** | [**Array<Array<Integer>>**](Array<Integer>.md)| connected solar system pairs | [optional]
**datasource** | **String**| The server name you would like data from | [optional] [default to tranquility]
**flag** | **String**| route security preference | [optional] [default to shortest]
- **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>**
@@ -62,10 +64,10 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json