Skip to content

Latest commit

 

History

History
158 lines (109 loc) · 5.23 KB

File metadata and controls

158 lines (109 loc) · 5.23 KB

EveSwaggerInterface.SovereigntyApi

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

Method HTTP request Description
getSovereigntyCampaigns GET /sovereignty/campaigns/ List sovereignty campaigns
getSovereigntyMap GET /sovereignty/map/ List sovereignty of systems
getSovereigntyStructures GET /sovereignty/structures/ List sovereignty structures

getSovereigntyCampaigns

[GetSovereigntyCampaigns200Ok] getSovereigntyCampaigns(opts)

List sovereignty campaigns

Shows sovereignty data for campaigns. --- Alternate route: /dev/sovereignty/campaigns/ Alternate route: /legacy/sovereignty/campaigns/ Alternate route: /v1/sovereignty/campaigns/ --- This route is cached for up to 5 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.SovereigntyApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getSovereigntyCampaigns(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetSovereigntyCampaigns200Ok]

Authorization

No authorization required

HTTP request headers

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

getSovereigntyMap

[GetSovereigntyMap200Ok] getSovereigntyMap(opts)

List sovereignty of systems

Shows sovereignty information for solar systems --- Alternate route: /dev/sovereignty/map/ Alternate route: /legacy/sovereignty/map/ Alternate route: /v1/sovereignty/map/ --- This route is cached for up to 3600 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.SovereigntyApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getSovereigntyMap(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetSovereigntyMap200Ok]

Authorization

No authorization required

HTTP request headers

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

getSovereigntyStructures

[GetSovereigntyStructures200Ok] getSovereigntyStructures(opts)

List sovereignty structures

Shows sovereignty data for structures. --- Alternate route: /dev/sovereignty/structures/ Alternate route: /legacy/sovereignty/structures/ Alternate route: /v1/sovereignty/structures/ --- This route is cached for up to 120 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.SovereigntyApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getSovereigntyStructures(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetSovereigntyStructures200Ok]

Authorization

No authorization required

HTTP request headers

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