CCP Games Sovereignty API
The Sovereignty API from CCP Games — 3 operation(s) for sovereignty.
The Sovereignty API from CCP Games — 3 operation(s) for sovereignty.
openapi: 3.1.0
info:
contact:
name: ESI Support
url: https://developers.eveonline.com/docs/support/
license:
name: EVE Developer License
url: https://developers.eveonline.com/license-agreement
termsOfService: https://support.eveonline.com/hc/en-us/articles/8414770561948-EVE-Online-Terms-of-Service
title: EVE Swagger Incineration (ESI) - tranquility Alliance Sovereignty API
version: '2020-01-01'
servers:
- url: https://esi.evetech.net
tags:
- name: Sovereignty
paths:
/sovereignty/campaigns:
get:
description: Shows sovereignty data for campaigns.
operationId: GetSovereigntyCampaigns
parameters:
- $ref: '#/components/parameters/AcceptLanguage'
- $ref: '#/components/parameters/IfNoneMatch'
- $ref: '#/components/parameters/CompatibilityDate'
- $ref: '#/components/parameters/Tenant'
- $ref: '#/components/parameters/IfModifiedSince'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SovereigntyCampaignsGet'
description: OK
headers:
Cache-Control:
$ref: '#/components/headers/CacheControl'
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/LastModified'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Error
summary: List sovereignty campaigns
tags:
- Sovereignty
x-cache-age: 5
x-compatibility-date: '2020-01-01'
x-rate-limit:
group: sovereignty
max-tokens: 600
window-size: 15m
/sovereignty/map:
get:
description: Shows sovereignty information for solar systems
operationId: GetSovereigntyMap
parameters:
- $ref: '#/components/parameters/AcceptLanguage'
- $ref: '#/components/parameters/IfNoneMatch'
- $ref: '#/components/parameters/CompatibilityDate'
- $ref: '#/components/parameters/Tenant'
- $ref: '#/components/parameters/IfModifiedSince'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SovereigntyMapGet'
description: OK
headers:
Cache-Control:
$ref: '#/components/headers/CacheControl'
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/LastModified'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Error
summary: List sovereignty of systems
tags:
- Sovereignty
x-cache-age: 3600
x-compatibility-date: '2020-01-01'
x-rate-limit:
group: sovereignty
max-tokens: 600
window-size: 15m
/sovereignty/structures:
get:
description: Shows sovereignty data for structures.
operationId: GetSovereigntyStructures
parameters:
- $ref: '#/components/parameters/AcceptLanguage'
- $ref: '#/components/parameters/IfNoneMatch'
- $ref: '#/components/parameters/CompatibilityDate'
- $ref: '#/components/parameters/Tenant'
- $ref: '#/components/parameters/IfModifiedSince'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SovereigntyStructuresGet'
description: OK
headers:
Cache-Control:
$ref: '#/components/headers/CacheControl'
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/LastModified'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Error
summary: List sovereignty structures
tags:
- Sovereignty
x-cache-age: 120
x-compatibility-date: '2020-01-01'
x-rate-limit:
group: sovereignty
max-tokens: 600
window-size: 15m
components:
parameters:
CompatibilityDate:
description: The compatibility date for the request.
in: header
name: X-Compatibility-Date
required: true
schema:
enum:
- '2020-01-01'
format: date
type: string
AcceptLanguage:
description: The language to use for the response.
in: header
name: Accept-Language
schema:
default: en
enum:
- en
- de
- fr
- ja
- ru
- zh
- ko
- es
type: string
Tenant:
description: The tenant ID for the request.
example: ''
in: header
name: X-Tenant
schema:
default: tranquility
type: string
IfNoneMatch:
description: The ETag of the previous request. A 304 will be returned if this matches the current ETag.
in: header
name: If-None-Match
schema:
type: string
IfModifiedSince:
description: The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
in: header
name: If-Modified-Since
schema:
type: string
headers:
LastModified:
description: The last modified date of the response. Use this with If-Modified-Since to check whether the resource has changed.
schema:
type: string
ETag:
description: The ETag value of the response body. Use this with If-None-Match to check whether the resource has changed.
schema:
type: string
CacheControl:
description: Directives for caching mechanisms. It controls how the response can be cached, by whom, and for how long.
schema:
type: string
schemas:
SovereigntyMapGet:
items:
properties:
alliance_id:
format: int64
type: integer
corporation_id:
format: int64
type: integer
faction_id:
format: int64
type: integer
system_id:
format: int64
type: integer
required:
- system_id
type: object
type: array
SovereigntyCampaignsGet:
items:
properties:
attackers_score:
description: 'Score for all attacking parties, only present in Defense Events.
'
format: double
type: number
campaign_id:
description: Unique ID for this campaign.
format: int64
type: integer
constellation_id:
description: 'The constellation in which the campaign will take place.
'
format: int64
type: integer
defender_id:
description: 'Defending alliance, only present in Defense Events
'
format: int64
type: integer
defender_score:
description: 'Score for the defending alliance, only present in Defense Events.
'
format: double
type: number
event_type:
description: 'Type of event this campaign is for. tcu_defense, ihub_defense and station_defense are referred to as "Defense Events", station_freeport as "Freeport Events".
'
enum:
- tcu_defense
- ihub_defense
- station_defense
- station_freeport
type: string
participants:
description: 'Alliance participating and their respective scores, only present in Freeport Events.
'
items:
description: participant object
properties:
alliance_id:
format: int64
type: integer
score:
format: double
type: number
required:
- alliance_id
- score
type: object
type: array
solar_system_id:
description: 'The solar system the structure is located in.
'
format: int64
type: integer
start_time:
description: 'Time the event is scheduled to start.
'
format: date-time
type: string
structure_id:
description: 'The structure item ID that is related to this campaign.
'
format: int64
type: integer
required:
- campaign_id
- structure_id
- solar_system_id
- constellation_id
- event_type
- start_time
type: object
type: array
ErrorDetail:
properties:
location:
description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
type: string
message:
description: Error message text
type: string
value:
description: The value at the given location
type: object
SovereigntyStructuresGet:
items:
properties:
alliance_id:
description: 'The alliance that owns the structure.
'
format: int64
type: integer
solar_system_id:
description: 'Solar system in which the structure is located.
'
format: int64
type: integer
structure_id:
description: Unique item ID for this structure.
format: int64
type: integer
structure_type_id:
description: 'A reference to the type of structure this is.
'
format: int64
type: integer
vulnerability_occupancy_level:
description: 'The occupancy level for the next or current vulnerability window. This takes into account all development indexes and capital system bonuses. Also known as Activity Defense Multiplier from in the client. It increases the time that attackers must spend using their entosis links on the structure.
'
format: double
type: number
vulnerable_end_time:
description: 'The time at which the next or current vulnerability window ends. At the end of a vulnerability window the next window is recalculated and locked in along with the vulnerabilityOccupancyLevel. If the structure is not in 100% entosis control of the defender, it will go in to ''overtime'' and stay vulnerable for as long as that situation persists. Only once the defenders have 100% entosis control and has the vulnerableEndTime passed does the vulnerability interval expire and a new one is calculated.
'
format: date-time
type: string
vulnerable_start_time:
description: 'The next time at which the structure will become vulnerable. Or the start time of the current window if current time is between this and vulnerableEndTime.
'
format: date-time
type: string
required:
- alliance_id
- solar_system_id
- structure_id
- structure_type_id
type: object
type: array
Error:
properties:
details:
description: List of individual error details.
items:
$ref: '#/components/schemas/ErrorDetail'
type: array
error:
description: Error message.
type: string
required:
- error
type: object
securitySchemes:
OAuth2:
flows:
authorizationCode:
authorizationUrl: https://login.eveonline.com/v2/oauth/authorize
scopes:
esi-access.read_lists.v1: esi-access.read_lists.v1
esi-activities.read_character.v1: esi-activities.read_character.v1
esi-alliances.read_contacts.v1: esi-alliances.read_contacts.v1
esi-assets.read_assets.v1: esi-assets.read_assets.v1
esi-assets.read_corporation_assets.v1: esi-assets.read_corporation_assets.v1
esi-calendar.read_calendar_events.v1: esi-calendar.read_calendar_events.v1
esi-calendar.respond_calendar_events.v1: esi-calendar.respond_calendar_events.v1
esi-characters.read_agents_research.v1: esi-characters.read_agents_research.v1
esi-characters.read_blueprints.v1: esi-characters.read_blueprints.v1
esi-characters.read_contacts.v1: esi-characters.read_contacts.v1
esi-characters.read_corporation_roles.v1: esi-characters.read_corporation_roles.v1
esi-characters.read_fatigue.v1: esi-characters.read_fatigue.v1
esi-characters.read_freelance_jobs.v1: esi-characters.read_freelance_jobs.v1
esi-characters.read_fw_stats.v1: esi-characters.read_fw_stats.v1
esi-characters.read_loyalty.v1: esi-characters.read_loyalty.v1
esi-characters.read_medals.v1: esi-characters.read_medals.v1
esi-characters.read_notifications.v1: esi-characters.read_notifications.v1
esi-characters.read_standings.v1: esi-characters.read_standings.v1
esi-characters.read_titles.v1: esi-characters.read_titles.v1
esi-characters.write_contacts.v1: esi-characters.write_contacts.v1
esi-clones.read_clones.v1: esi-clones.read_clones.v1
esi-clones.read_implants.v1: esi-clones.read_implants.v1
esi-contracts.read_character_contracts.v1: esi-contracts.read_character_contracts.v1
esi-contracts.read_corporation_contracts.v1: esi-contracts.read_corporation_contracts.v1
esi-corporations.read_blueprints.v1: esi-corporations.read_blueprints.v1
esi-corporations.read_contacts.v1: esi-corporations.read_contacts.v1
esi-corporations.read_container_logs.v1: esi-corporations.read_container_logs.v1
esi-corporations.read_corporation_membership.v1: esi-corporations.read_corporation_membership.v1
esi-corporations.read_divisions.v1: esi-corporations.read_divisions.v1
esi-corporations.read_facilities.v1: esi-corporations.read_facilities.v1
esi-corporations.read_freelance_jobs.v1: esi-corporations.read_freelance_jobs.v1
esi-corporations.read_fw_stats.v1: esi-corporations.read_fw_stats.v1
esi-corporations.read_medals.v1: esi-corporations.read_medals.v1
esi-corporations.read_projects.v1: esi-corporations.read_projects.v1
esi-corporations.read_standings.v1: esi-corporations.read_standings.v1
esi-corporations.read_starbases.v1: esi-corporations.read_starbases.v1
esi-corporations.read_structures.v1: esi-corporations.read_structures.v1
esi-corporations.read_titles.v1: esi-corporations.read_titles.v1
esi-corporations.track_members.v1: esi-corporations.track_members.v1
esi-fittings.read_fittings.v1: esi-fittings.read_fittings.v1
esi-fittings.write_fittings.v1: esi-fittings.write_fittings.v1
esi-fleets.read_fleet.v1: esi-fleets.read_fleet.v1
esi-fleets.write_fleet.v1: esi-fleets.write_fleet.v1
esi-industry.read_character_jobs.v1: esi-industry.read_character_jobs.v1
esi-industry.read_character_mining.v1: esi-industry.read_character_mining.v1
esi-industry.read_corporation_jobs.v1: esi-industry.read_corporation_jobs.v1
esi-industry.read_corporation_mining.v1: esi-industry.read_corporation_mining.v1
esi-killmails.read_corporation_killmails.v1: esi-killmails.read_corporation_killmails.v1
esi-killmails.read_killmails.v1: esi-killmails.read_killmails.v1
esi-location.read_location.v1: esi-location.read_location.v1
esi-location.read_online.v1: esi-location.read_online.v1
esi-location.read_ship_type.v1: esi-location.read_ship_type.v1
esi-mail.organize_mail.v1: esi-mail.organize_mail.v1
esi-mail.read_mail.v1: esi-mail.read_mail.v1
esi-mail.send_mail.v1: esi-mail.send_mail.v1
esi-markets.read_character_orders.v1: esi-markets.read_character_orders.v1
esi-markets.read_corporation_orders.v1: esi-markets.read_corporation_orders.v1
esi-markets.structure_markets.v1: esi-markets.structure_markets.v1
esi-planets.manage_planets.v1: esi-planets.manage_planets.v1
esi-planets.read_customs_offices.v1: esi-planets.read_customs_offices.v1
esi-search.search_structures.v1: esi-search.search_structures.v1
esi-skills.read_skillqueue.v1: esi-skills.read_skillqueue.v1
esi-skills.read_skills.v1: esi-skills.read_skills.v1
esi-structures.read_character.v1: esi-structures.read_character.v1
esi-structures.read_corporation.v1: esi-structures.read_corporation.v1
esi-ui.open_window.v1: esi-ui.open_window.v1
esi-ui.write_waypoint.v1: esi-ui.write_waypoint.v1
esi-universe.read_structures.v1: esi-universe.read_structures.v1
esi-wallet.read_character_wallet.v1: esi-wallet.read_character_wallet.v1
esi-wallet.read_corporation_wallets.v1: esi-wallet.read_corporation_wallets.v1
tokenUrl: https://login.eveonline.com/v2/oauth/token
type: oauth2