Skip to content

Latest commit

 

History

History
131 lines (88 loc) · 4.92 KB

WarsApi.md

File metadata and controls

131 lines (88 loc) · 4.92 KB

\WarsApi

All URIs are relative to https://esi.evetech.net

Method HTTP request Description
GetWars Get /v1/wars/ List wars
GetWarsWarId Get /v1/wars/{war_id}/ Get war information
GetWarsWarIdKillmails Get /v1/wars/{war_id}/killmails/ List kills for a war

GetWars

[]int32 GetWars(ctx, optional) List wars

Return a list of wars --- This route is cached for up to 3600 seconds

Required Parameters

Name Type Description Notes
ctx context.Context pass through context (authentication, logging, tracing)
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
datasource string The server name you would like data from [default to tranquility]
ifNoneMatch string ETag from a previous request. A 304 will be returned if this matches the current ETag
maxWarId int32 Only return wars with ID smaller than this.
userAgent string Client identifier, takes precedence over headers
xUserAgent string Client identifier, takes precedence over User-Agent

Return type

[]int32

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetWarsWarId

GetWarsWarIdOk GetWarsWarId(ctx, warId, optional) Get war information

Return details about a war --- This route is cached for up to 3600 seconds

Required Parameters

Name Type Description Notes
ctx context.Context pass through context (authentication, logging, tracing)
warId int32 ID for a war
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
warId int32 ID for a war
datasource string The server name you would like data from [default to tranquility]
ifNoneMatch string ETag from a previous request. A 304 will be returned if this matches the current ETag
userAgent string Client identifier, takes precedence over headers
xUserAgent string Client identifier, takes precedence over User-Agent

Return type

GetWarsWarIdOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetWarsWarIdKillmails

[]GetWarsWarIdKillmails200Ok GetWarsWarIdKillmails(ctx, warId, optional) List kills for a war

Return a list of kills related to a war --- This route is cached for up to 3600 seconds

Required Parameters

Name Type Description Notes
ctx context.Context pass through context (authentication, logging, tracing)
warId int32 A valid war ID
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
warId int32 A valid war ID
datasource string The server name you would like data from [default to tranquility]
ifNoneMatch string ETag from a previous request. A 304 will be returned if this matches the current ETag
page int32 Which page of results to return [default to 1]
userAgent string Client identifier, takes precedence over headers
xUserAgent string Client identifier, takes precedence over User-Agent

Return type

[]GetWarsWarIdKillmails200Ok

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]