Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.7 KB

File metadata and controls

58 lines (39 loc) · 1.7 KB

EveSwaggerInterface.StatusApi

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

Method HTTP request Description
getStatus GET /status/ Retrieve the uptime and player counts

getStatus

GetStatusOk getStatus(opts)

Retrieve the uptime and player counts

EVE Server status --- Alternate route: /dev/status/ Alternate route: /legacy/status/ Alternate route: /v1/status/ Alternate route: /v2/status/ --- This route is cached for up to 30 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.StatusApi();

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.getStatus(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

GetStatusOk

Authorization

No authorization required

HTTP request headers

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