# WarsApi All URIs are relative to *https://esi.evetech.net* |Method | HTTP request | Description| |------------- | ------------- | -------------| |[**getWars**](#getwars) | **GET** /wars | List wars| |[**getWarsWarId**](#getwarswarid) | **GET** /wars/{war_id} | Get war information| |[**getWarsWarIdKillmails**](#getwarswaridkillmails) | **GET** /wars/{war_id}/killmails | List kills for a war| # **getWars** > Array getWars() Return a list of wars ### Example ```typescript import { WarsApi, Configuration } from 'eve-esi-client-ts'; const configuration = new Configuration(); const apiInstance = new WarsApi(configuration); let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined) let maxWarId: number; // (optional) (default to undefined) let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en') let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined) let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility') let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined) const { status, data } = await apiInstance.getWars( xCompatibilityDate, maxWarId, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince ); ``` ### Parameters |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined| | **maxWarId** | [**number**] | | (optional) defaults to undefined| | **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'| | **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined| | **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'| | **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined| ### Return type **Array** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
| |**0** | Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **getWarsWarId** > WarsWarIdGet getWarsWarId() Return details about a war ### Example ```typescript import { WarsApi, Configuration } from 'eve-esi-client-ts'; const configuration = new Configuration(); const apiInstance = new WarsApi(configuration); let warId: number; // (default to undefined) let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined) let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en') let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined) let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility') let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined) const { status, data } = await apiInstance.getWarsWarId( warId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince ); ``` ### Parameters |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **warId** | [**number**] | | defaults to undefined| | **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined| | **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'| | **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined| | **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'| | **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined| ### Return type **WarsWarIdGet** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
| |**0** | Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **getWarsWarIdKillmails** > Array getWarsWarIdKillmails() Return a list of kills related to a war ### Example ```typescript import { WarsApi, Configuration } from 'eve-esi-client-ts'; const configuration = new Configuration(); const apiInstance = new WarsApi(configuration); let warId: number; // (default to undefined) let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined) let page: number; // (optional) (default to undefined) let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en') let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined) let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility') let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined) const { status, data } = await apiInstance.getWarsWarIdKillmails( warId, xCompatibilityDate, page, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince ); ``` ### Parameters |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **warId** | [**number**] | | defaults to undefined| | **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined| | **page** | [**number**] | | (optional) defaults to undefined| | **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'| | **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined| | **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'| | **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined| ### Return type **Array** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
* X-Pages - The total number of pages in the result set.
| |**0** | Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)