From a350e175c78dcf13e754d3bdb978e2afb80840a1 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Wed, 18 Apr 2018 20:47:44 -0400 Subject: [PATCH] Update to latest ESI routes. --- allianceauth/corputils/models.py | 3 +-- allianceauth/corputils/swagger.json | 2 +- allianceauth/corputils/tests.py | 4 ++-- allianceauth/eveonline/providers.py | 13 +++++++------ allianceauth/eveonline/swagger.json | 2 +- allianceauth/fleetactivitytracking/swagger.json | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/allianceauth/corputils/models.py b/allianceauth/corputils/models.py index 42251a80..4d3dc2da 100644 --- a/allianceauth/corputils/models.py +++ b/allianceauth/corputils/models.py @@ -40,9 +40,8 @@ class CorpStats(models.Model): c = self.token.get_esi_client(spec_file=SWAGGER_SPEC_PATH) assert c.Character.get_characters_character_id(character_id=self.token.character_id).result()[ 'corporation_id'] == int(self.corp.corporation_id) - members = c.Corporation.get_corporations_corporation_id_members( + member_ids = c.Corporation.get_corporations_corporation_id_members( corporation_id=self.corp.corporation_id).result() - member_ids = [m['character_id'] for m in members] # requesting too many ids per call results in a HTTP400 # the swagger spec doesn't have a maxItems count diff --git a/allianceauth/corputils/swagger.json b/allianceauth/corputils/swagger.json index 09fbfec7..b58538e5 100644 --- a/allianceauth/corputils/swagger.json +++ b/allianceauth/corputils/swagger.json @@ -1 +1 @@ -{"info": {"version": "0.5.5", "title": "EVE Swagger Interface", "description": "An OpenAPI for EVE Online"}, "swagger": "2.0", "basePath": "/", "produces": ["application/json"], "schemes": ["https"], "securityDefinitions": {"evesso": {"scopes": {"esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-corporations.write_structures.v1": "EVE SSO scope esi-corporations.write_structures.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1"}, "flow": "implicit", "type": "oauth2", "authorizationUrl": "https://login.eveonline.com/oauth/authorize"}}, "parameters": {"X-User-Agent": {"type": "string", "in": "header", "name": "X-User-Agent", "description": "Client identifier, takes precedence over User-Agent"}, "character_id": {"in": "path", "description": "An EVE character ID", "name": "character_id", "required": true, "format": "int32", "type": "integer"}, "language": {"in": "query", "description": "Language to use in the response", "name": "language", "type": "string", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "default": "en-us"}, "corporation_id": {"in": "path", "description": "An EVE corporation ID", "name": "corporation_id", "required": true, "format": "int32", "type": "integer"}, "datasource": {"in": "query", "description": "The server name you would like data from", "name": "datasource", "type": "string", "enum": ["tranquility", "singularity"], "default": "tranquility"}, "page": {"in": "query", "description": "Which page of results to return", "name": "page", "type": "integer", "format": "int32", "default": 1}, "token": {"type": "string", "in": "query", "name": "token", "description": "Access token to use if unable to set a header"}, "alliance_id": {"in": "path", "description": "An EVE alliance ID", "name": "alliance_id", "required": true, "format": "int32", "type": "integer"}, "user_agent": {"type": "string", "in": "query", "name": "user_agent", "description": "Client identifier, takes precedence over headers"}}, "paths": {"/v2/corporations/{corporation_id}/members/": {"get": {"x-alternate-versions": ["legacy", "v2"], "summary": "Get corporation members", "tags": ["Corporation"], "responses": {"500": {"examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error"}, "200": {"examples": {"application/json": [{"character_id": 90000001}, {"character_id": 90000002}]}, "schema": {"title": "get_corporations_corporation_id_members_ok", "maxItems": 12601, "type": "array", "description": "200 ok array", "items": {"properties": {"character_id": {"format": "int32", "title": "get_corporations_corporation_id_members_character_id", "type": "integer", "description": "character_id integer"}}, "title": "get_corporations_corporation_id_members_200_ok", "type": "object", "description": "200 ok object", "required": ["character_id"]}}, "description": "List of member character IDs", "headers": {"Last-Modified": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Expires": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Cache-Control": {"type": "string", "description": "The caching mechanism used"}}}, "403": {"examples": {"application/json": {"error": "Forbidden message"}}, "schema": {"$ref": "#/definitions/forbidden"}, "description": "Forbidden"}}, "description": "Read the current list of members if the calling character is a member.\n\n---\n\nThis route is cached for up to 3600 seconds", "security": [{"evesso": ["esi-corporations.read_corporation_membership.v1"]}], "x-cached-seconds": 3600, "operationId": "get_corporations_corporation_id_members", "parameters": [{"$ref": "#/parameters/corporation_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/token"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}]}}, "/v4/characters/{character_id}/": {"get": {"x-alternate-versions": ["dev", "v4"], "summary": "Get character's public information", "tags": ["Character"], "responses": {"404": {"examples": {"application/json": {"error": "Not found message"}}, "schema": {"properties": {"error": {"title": "get_characters_character_id_404_not_found", "type": "string", "description": "Not found message"}}, "title": "get_characters_character_id_not_found", "type": "object", "description": "Not found"}, "description": "Character not found"}, "500": {"examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error"}, "200": {"examples": {"application/json": {"bloodline_id": 3, "gender": "male", "name": "CCP Bartender", "description": "", "race_id": 2, "ancestry_id": 19, "corporation_id": 109299958, "birthday": "2015-03-24T11:37:00Z"}}, "schema": {"properties": {"security_status": {"maximum": 10, "description": "security_status number", "minimum": -10, "format": "float", "title": "get_characters_character_id_security_status", "type": "number"}, "bloodline_id": {"format": "int32", "title": "get_characters_character_id_bloodline_id", "type": "integer", "description": "bloodline_id integer"}, "gender": {"enum": ["female", "male"], "title": "get_characters_character_id_gender", "type": "string", "description": "gender string"}, "name": {"title": "get_characters_character_id_name", "type": "string", "description": "name string"}, "description": {"title": "get_characters_character_id_description", "type": "string", "description": "description string"}, "race_id": {"format": "int32", "title": "get_characters_character_id_race_id", "type": "integer", "description": "race_id integer"}, "ancestry_id": {"format": "int32", "title": "get_characters_character_id_ancestry_id", "type": "integer", "description": "ancestry_id integer"}, "corporation_id": {"format": "int32", "title": "get_characters_character_id_corporation_id", "type": "integer", "description": "The character's corporation ID"}, "birthday": {"format": "date-time", "title": "get_characters_character_id_birthday", "type": "string", "description": "Creation date of the character"}, "alliance_id": {"format": "int32", "title": "get_characters_character_id_alliance_id", "type": "integer", "description": "The character's alliance ID"}}, "title": "get_characters_character_id_ok", "type": "object", "description": "200 ok object", "required": ["corporation_id", "birthday", "name", "gender", "race_id", "bloodline_id"]}, "description": "Public data for the given character", "headers": {"Last-Modified": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Expires": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Cache-Control": {"type": "string", "description": "The caching mechanism used"}}}}, "x-cached-seconds": 3600, "description": "Public information about a character\n\n---\n\nThis route is cached for up to 3600 seconds", "operationId": "get_characters_character_id", "parameters": [{"$ref": "#/parameters/character_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}]}}, "/v1/characters/names/": {"get": {"x-alternate-versions": ["dev", "legacy", "v1"], "summary": "Get character names", "tags": ["Character"], "responses": {"500": {"examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error"}, "200": {"examples": {"application/json": [{"character_id": 95465499, "character_name": "CCP Bartender"}]}, "schema": {"title": "get_characters_names_ok", "maxItems": 1000, "type": "array", "description": "200 ok array", "items": {"properties": {"character_id": {"format": "int64", "title": "get_characters_names_character_id", "type": "integer", "description": "character_id integer"}, "character_name": {"title": "get_characters_names_character_name", "type": "string", "description": "character_name string"}}, "title": "get_characters_names_200_ok", "type": "object", "description": "200 ok object", "required": ["character_id", "character_name"]}}, "description": "List of id/name associations", "headers": {"Last-Modified": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Expires": {"type": "string", "description": "RFC7231 formatted datetime string"}, "Cache-Control": {"type": "string", "description": "The caching mechanism used"}}}}, "x-cached-seconds": 3600, "description": "Resolve a set of character IDs to character names\n\n---\n\nThis route is cached for up to 3600 seconds", "operationId": "get_characters_names", "parameters": [{"maxItems": 1000, "name": "character_ids", "description": "A comma separated list of character IDs", "required": true, "in": "query", "minItems": 1, "type": "array", "items": {"format": "int64", "type": "integer"}}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}]}}}, "definitions": {"internal_server_error": {"properties": {"error": {"type": "string", "description": "Internal server error message"}}, "title": "Internal server error", "type": "object", "description": "Internal server error model", "required": ["error"]}, "forbidden": {"properties": {"error": {"type": "string", "description": "Forbidden message"}, "sso_status": {"type": "integer", "description": "Status code received from SSO"}}, "title": "Forbidden", "type": "object", "description": "Forbidden model", "required": ["error"]}}, "host": "esi.tech.ccp.is"} \ No newline at end of file +{"swagger": "2.0", "info": {"title": "EVE Swagger Interface", "description": "An OpenAPI for EVE Online", "version": "0.8.0"}, "host": "esi.tech.ccp.is", "schemes": ["https"], "produces": ["application/json"], "securityDefinitions": {"evesso": {"type": "oauth2", "authorizationUrl": "https://login.eveonline.com/oauth/authorize", "flow": "implicit", "scopes": {"esi-alliances.read_contacts.v1": "EVE SSO scope esi-alliances.read_contacts.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-bookmarks.read_corporation_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_corporation_bookmarks.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1", "esi-characters.read_fw_stats.v1": "EVE SSO scope esi-characters.read_fw_stats.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-characters.read_titles.v1": "EVE SSO scope esi-characters.read_titles.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-characterstats.read.v1": "EVE SSO scope esi-characterstats.read.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-contracts.read_corporation_contracts.v1": "EVE SSO scope esi-contracts.read_corporation_contracts.v1", "esi-corporations.read_blueprints.v1": "EVE SSO scope esi-corporations.read_blueprints.v1", "esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-corporations.read_container_logs.v1": "EVE SSO scope esi-corporations.read_container_logs.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-corporations.read_facilities.v1": "EVE SSO scope esi-corporations.read_facilities.v1", "esi-corporations.read_fw_stats.v1": "EVE SSO scope esi-corporations.read_fw_stats.v1", "esi-corporations.read_medals.v1": "EVE SSO scope esi-corporations.read_medals.v1", "esi-corporations.read_outposts.v1": "EVE SSO scope esi-corporations.read_outposts.v1", "esi-corporations.read_standings.v1": "EVE SSO scope esi-corporations.read_standings.v1", "esi-corporations.read_starbases.v1": "EVE SSO scope esi-corporations.read_starbases.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-corporations.read_titles.v1": "EVE SSO scope esi-corporations.read_titles.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-industry.read_character_mining.v1": "EVE SSO scope esi-industry.read_character_mining.v1", "esi-industry.read_corporation_jobs.v1": "EVE SSO scope esi-industry.read_corporation_jobs.v1", "esi-industry.read_corporation_mining.v1": "EVE SSO scope esi-industry.read_corporation_mining.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-markets.read_corporation_orders.v1": "EVE SSO scope esi-markets.read_corporation_orders.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-planets.read_customs_offices.v1": "EVE SSO scope esi-planets.read_customs_offices.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1"}}}, "parameters": {"datasource": {"name": "datasource", "description": "The server name you would like data from", "in": "query", "type": "string", "default": "tranquility", "enum": ["tranquility", "singularity"]}, "user_agent": {"name": "user_agent", "description": "Client identifier, takes precedence over headers", "in": "query", "type": "string"}, "X-User-Agent": {"name": "X-User-Agent", "description": "Client identifier, takes precedence over User-Agent", "in": "header", "type": "string"}, "page": {"name": "page", "description": "Which page of results to return", "in": "query", "type": "integer", "format": "int32", "default": 1}, "token": {"name": "token", "description": "Access token to use if unable to set a header", "in": "query", "type": "string"}, "character_id": {"description": "An EVE character ID", "format": "int32", "in": "path", "minimum": 1, "name": "character_id", "required": true, "type": "integer"}, "corporation_id": {"description": "An EVE corporation ID", "format": "int32", "in": "path", "minimum": 1, "name": "corporation_id", "required": true, "type": "integer"}, "language": {"name": "language", "description": "Language to use in the response", "in": "query", "type": "string", "default": "en-us", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"]}, "alliance_id": {"description": "An EVE alliance ID", "format": "int32", "in": "path", "minimum": 1, "name": "alliance_id", "required": true, "type": "integer"}}, "definitions": {"unauthorized": {"type": "object", "description": "Unauthorized model", "title": "Unauthorized", "required": ["error"], "properties": {"error": {"type": "string", "description": "Unauthorized message"}}, "x-model": "Unauthorized"}, "forbidden": {"type": "object", "description": "Forbidden model", "title": "Forbidden", "required": ["error"], "properties": {"error": {"type": "string", "description": "Forbidden message"}, "sso_status": {"type": "integer", "description": "Status code received from SSO"}}, "x-model": "Forbidden"}, "bad_request": {"type": "object", "description": "Bad request model", "title": "Bad request", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad request message"}}, "x-model": "Bad request"}, "internal_server_error": {"type": "object", "description": "Internal server error model", "title": "Internal server error", "required": ["error"], "properties": {"error": {"type": "string", "description": "Internal server error message"}}, "x-model": "Internal server error"}, "bad_gateway": {"type": "object", "description": "Bad gateway model", "title": "Bad gateway", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad gateway message"}}, "x-model": "Bad gateway"}, "service_unavailable": {"type": "object", "description": "Service unavailable model", "title": "Service unavailable", "required": ["error"], "properties": {"error": {"type": "string", "description": "Service unavailable message"}}, "x-model": "Service unavailable"}}, "paths": {"/v4/characters/{character_id}/": {"get": {"description": "Public information about a character\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get character's public information", "tags": ["Character"], "parameters": [{"$ref": "#/parameters/character_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Public data for the given character", "examples": {"application/json": {"corporation_id": 109299958, "birthday": "2015-03-24T11:37:00Z", "name": "CCP Bartender", "gender": "male", "race_id": 2, "description": "", "bloodline_id": 3, "ancestry_id": 19}}, "schema": {"type": "object", "required": ["corporation_id", "birthday", "name", "gender", "race_id", "bloodline_id"], "properties": {"name": {"type": "string", "title": "get_characters_character_id_name", "description": "name string"}, "description": {"type": "string", "title": "get_characters_character_id_description", "description": "description string"}, "corporation_id": {"type": "integer", "format": "int32", "description": "The character's corporation ID", "title": "get_characters_character_id_corporation_id"}, "alliance_id": {"type": "integer", "format": "int32", "description": "The character's alliance ID", "title": "get_characters_character_id_alliance_id"}, "birthday": {"type": "string", "format": "date-time", "description": "Creation date of the character", "title": "get_characters_character_id_birthday"}, "gender": {"type": "string", "enum": ["female", "male"], "title": "get_characters_character_id_gender", "description": "gender string"}, "race_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_race_id", "description": "race_id integer"}, "bloodline_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_bloodline_id", "description": "bloodline_id integer"}, "ancestry_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_ancestry_id", "description": "ancestry_id integer"}, "security_status": {"type": "number", "format": "float", "minimum": -10, "maximum": 10, "title": "get_characters_character_id_security_status", "description": "security_status number"}, "faction_id": {"type": "integer", "format": "int32", "description": "ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare", "title": "get_characters_character_id_faction_id"}}, "title": "get_characters_character_id_ok", "description": "200 ok object", "x-model": "get_characters_character_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Character not found", "schema": {"type": "object", "title": "get_characters_character_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_characters_character_id_404_not_found"}}, "x-model": "get_characters_character_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_characters_character_id", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "v4"]}}, "/v1/characters/names/": {"get": {"description": "Resolve a set of character IDs to character names\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get character names", "tags": ["Character"], "parameters": [{"name": "character_ids", "in": "query", "description": "A comma separated list of character IDs", "required": true, "type": "array", "maxItems": 1000, "minItems": 1, "items": {"type": "integer", "format": "int64"}}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "List of id/name associations", "examples": {"application/json": [{"character_id": 95465499, "character_name": "CCP Bartender"}]}, "schema": {"type": "array", "maxItems": 1000, "items": {"type": "object", "required": ["character_id", "character_name"], "properties": {"character_id": {"type": "integer", "format": "int64", "title": "get_characters_names_character_id", "description": "character_id integer"}, "character_name": {"type": "string", "title": "get_characters_names_character_name", "description": "character_name string"}}, "title": "get_characters_names_200_ok", "description": "200 ok object", "x-model": "get_characters_names_200_ok"}, "title": "get_characters_names_ok", "description": "200 ok array"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_characters_names", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v3/corporations/{corporation_id}/members/": {"get": {"description": "Return the current member list of a corporation, the token's character need to be a member of the corporation.\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get corporation members", "tags": ["Corporation"], "parameters": [{"$ref": "#/parameters/corporation_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/token", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "List of member character IDs", "examples": {"application/json": [90000001, 90000002]}, "schema": {"type": "array", "maxItems": 12601, "description": "A list of character IDs", "items": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_members_200_ok", "description": "200 ok integer"}, "title": "get_corporations_corporation_id_members_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "403": {"description": "Forbidden", "schema": {"$ref": "#/definitions/forbidden", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Forbidden message"}}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/unauthorized", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Unauthorized message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "security": [{"evesso": ["esi-corporations.read_corporation_membership.v1"]}], "operationId": "get_corporations_corporation_id_members", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "v3"]}}}} \ No newline at end of file diff --git a/allianceauth/corputils/tests.py b/allianceauth/corputils/tests.py index 2c1bdfa4..3fa5617c 100644 --- a/allianceauth/corputils/tests.py +++ b/allianceauth/corputils/tests.py @@ -85,7 +85,7 @@ class CorpStatsUpdateTestCase(TestCase): @mock.patch('esi.clients.SwaggerClient') def test_update_add_member(self, SwaggerClient): SwaggerClient.from_spec.return_value.Character.get_characters_character_id.return_value.result.return_value = {'corporation_id': 2} - SwaggerClient.from_spec.return_value.Corporation.get_corporations_corporation_id_members.return_value.result.return_value = [{'character_id': 1}] + SwaggerClient.from_spec.return_value.Corporation.get_corporations_corporation_id_members.return_value.result.return_value = [1] SwaggerClient.from_spec.return_value.Character.get_characters_names.return_value.result.return_value = [{'character_id': 1, 'character_name': 'test character'}] self.corpstats.update() self.assertTrue(CorpMember.objects.filter(character_id='1', character_name='test character', corpstats=self.corpstats).exists()) @@ -94,7 +94,7 @@ class CorpStatsUpdateTestCase(TestCase): def test_update_remove_member(self, SwaggerClient): CorpMember.objects.create(character_id='2', character_name='old test character', corpstats=self.corpstats) SwaggerClient.from_spec.return_value.Character.get_characters_character_id.return_value.result.return_value = {'corporation_id': 2} - SwaggerClient.from_spec.return_value.Corporation.get_corporations_corporation_id_members.return_value.result.return_value = [{'character_id': 1}] + SwaggerClient.from_spec.return_value.Corporation.get_corporations_corporation_id_members.return_value.result.return_value = [1] SwaggerClient.from_spec.return_value.Character.get_characters_names.return_value.result.return_value = [{'character_id': 1, 'character_name': 'test character'}] self.corpstats.update() self.assertFalse(CorpMember.objects.filter(character_id='2', corpstats=self.corpstats).exists()) diff --git a/allianceauth/eveonline/providers.py b/allianceauth/eveonline/providers.py index da641247..ae4472ec 100644 --- a/allianceauth/eveonline/providers.py +++ b/allianceauth/eveonline/providers.py @@ -81,7 +81,9 @@ class Alliance(Entity): @property def executor_corp(self): - return self.corp(self.executor_corp_id) + if self.executor_corp_id: + return self.corp(self.executor_corp_id) + return Entity(None, None) class Character(Entity): @@ -150,10 +152,10 @@ class EveSwaggerProvider(EveProvider): corps = self.client.Alliance.get_alliances_alliance_id_corporations(alliance_id=alliance_id).result() model = Alliance( id=alliance_id, - name=data['alliance_name'], + name=data['name'], ticker=data['ticker'], corp_ids=corps, - executor_corp_id=data['executor_corp'], + executor_corp_id=data['executor_corporation_id'] if 'executor_corporation_id' in data else None, ) return model except HTTPNotFound: @@ -164,7 +166,7 @@ class EveSwaggerProvider(EveProvider): data = self.client.Corporation.get_corporations_corporation_id(corporation_id=corp_id).result() model = Corporation( id=corp_id, - name=data['corporation_name'], + name=data['name'], ticker=data['ticker'], ceo_id=data['ceo_id'], members=data['member_count'], @@ -177,12 +179,11 @@ class EveSwaggerProvider(EveProvider): def get_character(self, character_id): try: data = self.client.Character.get_characters_character_id(character_id=character_id).result() - alliance_id = self.adapter.get_corp(data['corporation_id']).alliance_id model = Character( id=character_id, name=data['name'], corp_id=data['corporation_id'], - alliance_id=alliance_id, + alliance_id=data['alliance_id'] if 'alliance_id' in data else None, ) return model except (HTTPNotFound, HTTPUnprocessableEntity): diff --git a/allianceauth/eveonline/swagger.json b/allianceauth/eveonline/swagger.json index 1d06d376..b2696b41 100644 --- a/allianceauth/eveonline/swagger.json +++ b/allianceauth/eveonline/swagger.json @@ -1 +1 @@ -{"basePath": "/", "definitions": {"internal_server_error": {"description": "Internal server error model", "type": "object", "properties": {"error": {"description": "Internal server error message", "type": "string"}}, "required": ["error"], "title": "Internal server error"}, "forbidden": {"description": "Forbidden model", "type": "object", "properties": {"sso_status": {"description": "Status code received from SSO", "type": "integer"}, "error": {"description": "Forbidden message", "type": "string"}}, "required": ["error"], "title": "Forbidden"}}, "info": {"description": "An OpenAPI for EVE Online", "version": "0.5.5", "title": "EVE Swagger Interface"}, "parameters": {"character_id": {"description": "An EVE character ID", "name": "character_id", "in": "path", "type": "integer", "required": true, "format": "int32"}, "language": {"description": "Language to use in the response", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "default": "en-us", "in": "query", "type": "string", "name": "language"}, "X-User-Agent": {"description": "Client identifier, takes precedence over User-Agent", "type": "string", "name": "X-User-Agent", "in": "header"}, "datasource": {"description": "The server name you would like data from", "enum": ["tranquility", "singularity"], "default": "tranquility", "in": "query", "type": "string", "name": "datasource"}, "token": {"description": "Access token to use if unable to set a header", "type": "string", "name": "token", "in": "query"}, "corporation_id": {"description": "An EVE corporation ID", "name": "corporation_id", "in": "path", "type": "integer", "required": true, "format": "int32"}, "page": {"description": "Which page of results to return", "default": 1, "in": "query", "type": "integer", "name": "page", "format": "int32"}, "alliance_id": {"description": "An EVE alliance ID", "name": "alliance_id", "in": "path", "type": "integer", "required": true, "format": "int32"}, "user_agent": {"description": "Client identifier, takes precedence over headers", "type": "string", "name": "user_agent", "in": "query"}}, "produces": ["application/json"], "securityDefinitions": {"evesso": {"flow": "implicit", "scopes": {"esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-corporations.write_structures.v1": "EVE SSO scope esi-corporations.write_structures.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1"}, "authorizationUrl": "https://login.eveonline.com/oauth/authorize", "type": "oauth2"}}, "schemes": ["https"], "swagger": "2.0", "host": "esi.tech.ccp.is", "paths": {"/v1/alliances/{alliance_id}/corporations/": {"get": {"description": "List all current member corporations of an alliance\n\n---\n\nThis route is cached for up to 3600 seconds", "x-cached-seconds": 3600, "operationId": "get_alliances_alliance_id_corporations", "summary": "List alliance's corporations", "responses": {"200": {"schema": {"description": "200 ok array", "type": "array", "title": "get_alliances_alliance_id_corporations_ok", "maxItems": 1000, "items": {"minimum": 0, "uniqueItems": true, "description": "200 ok integer", "type": "integer", "title": "get_alliances_alliance_id_corporations_200_ok", "format": "int32"}}, "description": "List of corporation IDs", "headers": {"Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}}, "examples": {"application/json": [98000001]}}, "500": {"schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}}}, "tags": ["Alliance"], "parameters": [{"$ref": "#/parameters/alliance_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v4/characters/{character_id}/": {"get": {"description": "Public information about a character\n\n---\n\nThis route is cached for up to 3600 seconds", "x-cached-seconds": 3600, "operationId": "get_characters_character_id", "summary": "Get character's public information", "responses": {"200": {"schema": {"description": "200 ok object", "type": "object", "properties": {"bloodline_id": {"description": "bloodline_id integer", "type": "integer", "title": "get_characters_character_id_bloodline_id", "format": "int32"}, "name": {"description": "name string", "type": "string", "title": "get_characters_character_id_name"}, "race_id": {"description": "race_id integer", "type": "integer", "title": "get_characters_character_id_race_id", "format": "int32"}, "security_status": {"minimum": -10, "maximum": 10, "description": "security_status number", "type": "number", "title": "get_characters_character_id_security_status", "format": "float"}, "description": {"description": "description string", "type": "string", "title": "get_characters_character_id_description"}, "corporation_id": {"description": "The character's corporation ID", "type": "integer", "title": "get_characters_character_id_corporation_id", "format": "int32"}, "birthday": {"description": "Creation date of the character", "type": "string", "title": "get_characters_character_id_birthday", "format": "date-time"}, "alliance_id": {"description": "The character's alliance ID", "type": "integer", "title": "get_characters_character_id_alliance_id", "format": "int32"}, "gender": {"description": "gender string", "enum": ["female", "male"], "type": "string", "title": "get_characters_character_id_gender"}, "ancestry_id": {"description": "ancestry_id integer", "type": "integer", "title": "get_characters_character_id_ancestry_id", "format": "int32"}}, "required": ["corporation_id", "birthday", "name", "gender", "race_id", "bloodline_id"], "title": "get_characters_character_id_ok"}, "description": "Public data for the given character", "headers": {"Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}}, "examples": {"application/json": {"bloodline_id": 3, "name": "CCP Bartender", "race_id": 2, "description": "", "corporation_id": 109299958, "birthday": "2015-03-24T11:37:00Z", "gender": "male", "ancestry_id": 19}}}, "500": {"schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}}, "404": {"schema": {"description": "Not found", "type": "object", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_characters_character_id_404_not_found"}}, "title": "get_characters_character_id_not_found"}, "description": "Character not found", "examples": {"application/json": {"error": "Not found message"}}}}, "tags": ["Character"], "parameters": [{"$ref": "#/parameters/character_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-alternate-versions": ["dev", "v4"]}}, "/v2/universe/types/{type_id}/": {"get": {"description": "Get information on a type\n\n---\n\nThis route expires daily at 11:05", "operationId": "get_universe_types_type_id", "summary": "Get type information", "responses": {"200": {"schema": {"description": "200 ok object", "type": "object", "properties": {"published": {"description": "published boolean", "type": "boolean", "title": "get_universe_types_type_id_published"}, "group_id": {"description": "group_id integer", "type": "integer", "title": "get_universe_types_type_id_group_id", "format": "int32"}, "mass": {"description": "mass number", "type": "number", "title": "get_universe_types_type_id_mass", "format": "float"}, "graphic_id": {"description": "graphic_id integer", "type": "integer", "title": "get_universe_types_type_id_graphic_id", "format": "int32"}, "type_id": {"description": "type_id integer", "type": "integer", "title": "get_universe_types_type_id_type_id", "format": "int32"}, "volume": {"description": "volume number", "type": "number", "title": "get_universe_types_type_id_volume", "format": "float"}, "radius": {"description": "radius number", "type": "number", "title": "get_universe_types_type_id_radius", "format": "float"}, "dogma_effects": {"description": "dogma_effects array", "type": "array", "title": "get_universe_types_type_id_dogma_effects", "maxItems": 1000, "items": {"description": "dogma_effect object", "type": "object", "properties": {"effect_id": {"description": "effect_id integer", "type": "integer", "title": "get_universe_types_type_id_effect_id", "format": "int32"}, "is_default": {"description": "is_default boolean", "type": "boolean", "title": "get_universe_types_type_id_is_default"}}, "required": ["effect_id", "is_default"], "title": "get_universe_types_type_id_dogma_effect"}}, "portion_size": {"description": "portion_size integer", "type": "integer", "title": "get_universe_types_type_id_portion_size", "format": "int32"}, "description": {"description": "description string", "type": "string", "title": "get_universe_types_type_id_description"}, "name": {"description": "name string", "type": "string", "title": "get_universe_types_type_id_name"}, "icon_id": {"description": "icon_id integer", "type": "integer", "title": "get_universe_types_type_id_icon_id", "format": "int32"}, "capacity": {"description": "capacity number", "type": "number", "title": "get_universe_types_type_id_capacity", "format": "float"}, "dogma_attributes": {"description": "dogma_attributes array", "type": "array", "title": "get_universe_types_type_id_dogma_attributes", "maxItems": 1000, "items": {"description": "dogma_attribute object", "type": "object", "properties": {"attribute_id": {"description": "attribute_id integer", "type": "integer", "title": "get_universe_types_type_id_attribute_id", "format": "int32"}, "value": {"description": "value number", "type": "number", "title": "get_universe_types_type_id_value", "format": "float"}}, "required": ["attribute_id", "value"], "title": "get_universe_types_type_id_dogma_attribute"}}}, "required": ["type_id", "name", "description", "published", "group_id"], "title": "get_universe_types_type_id_ok"}, "description": "Information about a type", "headers": {"Content-Language": {"description": "The language used in the response", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}}, "examples": {"application/json": {"published": true, "description": "The Rifter is a...", "type_id": 587, "name": "Rifter", "group_id": 25}}}, "500": {"schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}}, "404": {"schema": {"description": "Not found", "type": "object", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_universe_types_type_id_404_not_found"}}, "title": "get_universe_types_type_id_not_found"}, "description": "Type not found", "examples": {"application/json": {"error": "Not found message"}}}}, "tags": ["Universe"], "parameters": [{"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/language"}, {"description": "An Eve item type ID", "name": "type_id", "in": "path", "type": "integer", "required": true, "format": "int32"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-alternate-versions": ["legacy", "v2"]}}, "/v2/alliances/{alliance_id}/": {"get": {"description": "Public information about an alliance\n\n---\n\nThis route is cached for up to 3600 seconds", "x-cached-seconds": 3600, "operationId": "get_alliances_alliance_id", "summary": "Get alliance information", "responses": {"200": {"schema": {"description": "200 ok object", "type": "object", "properties": {"alliance_name": {"description": "the full name of the alliance", "type": "string", "title": "get_alliances_alliance_id_alliance_name"}, "executor_corp": {"description": "the executor corporation ID, if this alliance is not closed", "type": "integer", "title": "get_alliances_alliance_id_executor_corp", "format": "int32"}, "ticker": {"description": "the short name of the alliance", "type": "string", "title": "get_alliances_alliance_id_ticker"}, "date_founded": {"description": "date_founded string", "type": "string", "title": "get_alliances_alliance_id_date_founded", "format": "date-time"}}, "required": ["alliance_name", "ticker", "date_founded"], "title": "get_alliances_alliance_id_ok"}, "description": "Public data about an alliance", "headers": {"Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}}, "examples": {"application/json": {"alliance_name": "C C P Alliance", "executor_corp": 98356193, "ticker": "", "date_founded": "2016-06-26T21:00:00Z"}}}, "500": {"schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}}, "404": {"schema": {"description": "Alliance not found", "type": "object", "properties": {"error": {"description": "error message", "type": "string", "title": "get_alliances_alliance_id_error"}}, "title": "get_alliances_alliance_id_not_found"}, "description": "Alliance not found", "examples": {"application/json": {"error": "Alliance not found"}}}}, "tags": ["Alliance"], "parameters": [{"$ref": "#/parameters/alliance_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-alternate-versions": ["v2"]}}, "/v3/corporations/{corporation_id}/": {"get": {"description": "Public information about a corporation\n\n---\n\nThis route is cached for up to 3600 seconds", "x-cached-seconds": 3600, "operationId": "get_corporations_corporation_id", "summary": "Get corporation information", "responses": {"200": {"schema": {"description": "200 ok object", "type": "object", "properties": {"creator_id": {"description": "creator_id integer", "type": "integer", "title": "get_corporations_corporation_id_creator_id", "format": "int32"}, "url": {"description": "url string", "type": "string", "title": "get_corporations_corporation_id_url"}, "ticker": {"description": "the short name of the corporation", "type": "string", "title": "get_corporations_corporation_id_ticker"}, "member_count": {"description": "member_count integer", "type": "integer", "title": "get_corporations_corporation_id_member_count", "format": "int32"}, "corporation_description": {"description": "corporation_description string", "type": "string", "title": "get_corporations_corporation_id_corporation_description"}, "creation_date": {"description": "creation_date string", "type": "string", "title": "get_corporations_corporation_id_creation_date", "format": "date-time"}, "faction": {"description": "faction string", "enum": ["Minmatar", "Gallente", "Caldari", "Amarr"], "type": "string", "title": "get_corporations_corporation_id_faction"}, "corporation_name": {"description": "the full name of the corporation", "type": "string", "title": "get_corporations_corporation_id_corporation_name"}, "alliance_id": {"description": "id of alliance that corporation is a member of, if any", "type": "integer", "title": "get_corporations_corporation_id_alliance_id", "format": "int32"}, "ceo_id": {"description": "ceo_id integer", "type": "integer", "title": "get_corporations_corporation_id_ceo_id", "format": "int32"}, "tax_rate": {"minimum": 0, "maximum": 1, "description": "tax_rate number", "type": "number", "title": "get_corporations_corporation_id_tax_rate", "format": "float"}}, "required": ["corporation_name", "ticker", "member_count", "ceo_id", "corporation_description", "tax_rate", "creator_id", "url"], "title": "get_corporations_corporation_id_ok"}, "description": "Public data about a corporation", "headers": {"Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}}, "examples": {"application/json": {"creator_id": 180548812, "url": "http://www.eveonline.com", "ticker": "-CCP-", "member_count": 656, "corporation_description": "This is a corporation description, it's basically just a string", "creation_date": "2004-11-28T16:42:51Z", "corporation_name": "C C P", "alliance_id": 434243723, "ceo_id": 180548812, "tax_rate": 0.256}}}, "500": {"schema": {"$ref": "#/definitions/internal_server_error"}, "description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}}, "404": {"schema": {"description": "Not found", "type": "object", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_corporations_corporation_id_404_not_found"}}, "title": "get_corporations_corporation_id_not_found"}, "description": "Corporation not found", "examples": {"application/json": {"error": "Not found message"}}}}, "tags": ["Corporation"], "parameters": [{"$ref": "#/parameters/corporation_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-alternate-versions": ["v3"]}}}} \ No newline at end of file +{"swagger": "2.0", "info": {"title": "EVE Swagger Interface", "description": "An OpenAPI for EVE Online", "version": "0.8.0"}, "host": "esi.tech.ccp.is", "schemes": ["https"], "produces": ["application/json"], "securityDefinitions": {"evesso": {"type": "oauth2", "authorizationUrl": "https://login.eveonline.com/oauth/authorize", "flow": "implicit", "scopes": {"esi-alliances.read_contacts.v1": "EVE SSO scope esi-alliances.read_contacts.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-bookmarks.read_corporation_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_corporation_bookmarks.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1", "esi-characters.read_fw_stats.v1": "EVE SSO scope esi-characters.read_fw_stats.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-characters.read_titles.v1": "EVE SSO scope esi-characters.read_titles.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-characterstats.read.v1": "EVE SSO scope esi-characterstats.read.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-contracts.read_corporation_contracts.v1": "EVE SSO scope esi-contracts.read_corporation_contracts.v1", "esi-corporations.read_blueprints.v1": "EVE SSO scope esi-corporations.read_blueprints.v1", "esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-corporations.read_container_logs.v1": "EVE SSO scope esi-corporations.read_container_logs.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-corporations.read_facilities.v1": "EVE SSO scope esi-corporations.read_facilities.v1", "esi-corporations.read_fw_stats.v1": "EVE SSO scope esi-corporations.read_fw_stats.v1", "esi-corporations.read_medals.v1": "EVE SSO scope esi-corporations.read_medals.v1", "esi-corporations.read_outposts.v1": "EVE SSO scope esi-corporations.read_outposts.v1", "esi-corporations.read_standings.v1": "EVE SSO scope esi-corporations.read_standings.v1", "esi-corporations.read_starbases.v1": "EVE SSO scope esi-corporations.read_starbases.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-corporations.read_titles.v1": "EVE SSO scope esi-corporations.read_titles.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-industry.read_character_mining.v1": "EVE SSO scope esi-industry.read_character_mining.v1", "esi-industry.read_corporation_jobs.v1": "EVE SSO scope esi-industry.read_corporation_jobs.v1", "esi-industry.read_corporation_mining.v1": "EVE SSO scope esi-industry.read_corporation_mining.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-markets.read_corporation_orders.v1": "EVE SSO scope esi-markets.read_corporation_orders.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-planets.read_customs_offices.v1": "EVE SSO scope esi-planets.read_customs_offices.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1"}}}, "parameters": {"datasource": {"name": "datasource", "description": "The server name you would like data from", "in": "query", "type": "string", "default": "tranquility", "enum": ["tranquility", "singularity"]}, "user_agent": {"name": "user_agent", "description": "Client identifier, takes precedence over headers", "in": "query", "type": "string"}, "X-User-Agent": {"name": "X-User-Agent", "description": "Client identifier, takes precedence over User-Agent", "in": "header", "type": "string"}, "page": {"name": "page", "description": "Which page of results to return", "in": "query", "type": "integer", "format": "int32", "default": 1}, "token": {"name": "token", "description": "Access token to use if unable to set a header", "in": "query", "type": "string"}, "character_id": {"description": "An EVE character ID", "format": "int32", "in": "path", "minimum": 1, "name": "character_id", "required": true, "type": "integer"}, "corporation_id": {"description": "An EVE corporation ID", "format": "int32", "in": "path", "minimum": 1, "name": "corporation_id", "required": true, "type": "integer"}, "language": {"name": "language", "description": "Language to use in the response", "in": "query", "type": "string", "default": "en-us", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"]}, "alliance_id": {"description": "An EVE alliance ID", "format": "int32", "in": "path", "minimum": 1, "name": "alliance_id", "required": true, "type": "integer"}}, "definitions": {"unauthorized": {"type": "object", "description": "Unauthorized model", "title": "Unauthorized", "required": ["error"], "properties": {"error": {"type": "string", "description": "Unauthorized message"}}, "x-model": "Unauthorized"}, "forbidden": {"type": "object", "description": "Forbidden model", "title": "Forbidden", "required": ["error"], "properties": {"error": {"type": "string", "description": "Forbidden message"}, "sso_status": {"type": "integer", "description": "Status code received from SSO"}}, "x-model": "Forbidden"}, "bad_request": {"type": "object", "description": "Bad request model", "title": "Bad request", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad request message"}}, "x-model": "Bad request"}, "internal_server_error": {"type": "object", "description": "Internal server error model", "title": "Internal server error", "required": ["error"], "properties": {"error": {"type": "string", "description": "Internal server error message"}}, "x-model": "Internal server error"}, "bad_gateway": {"type": "object", "description": "Bad gateway model", "title": "Bad gateway", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad gateway message"}}, "x-model": "Bad gateway"}, "service_unavailable": {"type": "object", "description": "Service unavailable model", "title": "Service unavailable", "required": ["error"], "properties": {"error": {"type": "string", "description": "Service unavailable message"}}, "x-model": "Service unavailable"}}, "paths": {"/v3/alliances/{alliance_id}/": {"get": {"description": "Public information about an alliance\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get alliance information", "tags": ["Alliance"], "parameters": [{"$ref": "#/parameters/alliance_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Public data about an alliance", "examples": {"application/json": {"name": "C C P Alliance", "ticker": "", "creator_id": 12345, "creator_corporation_id": 45678, "executor_corporation_id": 98356193, "date_founded": "2016-06-26T21:00:00Z"}}, "schema": {"type": "object", "required": ["name", "creator_id", "creator_corporation_id", "ticker", "date_founded"], "properties": {"name": {"type": "string", "description": "the full name of the alliance", "title": "get_alliances_alliance_id_name"}, "creator_id": {"type": "integer", "format": "int32", "description": "ID of the character that created the alliance", "title": "get_alliances_alliance_id_creator_id"}, "creator_corporation_id": {"type": "integer", "format": "int32", "description": "ID of the corporation that created the alliance", "title": "get_alliances_alliance_id_creator_corporation_id"}, "ticker": {"type": "string", "description": "the short name of the alliance", "title": "get_alliances_alliance_id_ticker"}, "executor_corporation_id": {"type": "integer", "format": "int32", "description": "the executor corporation ID, if this alliance is not closed", "title": "get_alliances_alliance_id_executor_corporation_id"}, "date_founded": {"type": "string", "format": "date-time", "title": "get_alliances_alliance_id_date_founded", "description": "date_founded string"}, "faction_id": {"type": "integer", "format": "int32", "description": "Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare", "title": "get_alliances_alliance_id_faction_id"}}, "title": "get_alliances_alliance_id_ok", "description": "200 ok object", "x-model": "get_alliances_alliance_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Alliance not found", "schema": {"type": "object", "title": "get_alliances_alliance_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_alliances_alliance_id_404_not_found"}}, "x-model": "get_alliances_alliance_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_alliances_alliance_id", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "v3"]}}, "/v1/alliances/{alliance_id}/corporations/": {"get": {"description": "List all current member corporations of an alliance\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "List alliance's corporations", "tags": ["Alliance"], "parameters": [{"$ref": "#/parameters/alliance_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "List of corporation IDs", "examples": {"application/json": [98000001]}, "schema": {"type": "array", "maxItems": 1000, "items": {"type": "integer", "format": "int32", "minimum": 0, "uniqueItems": true, "title": "get_alliances_alliance_id_corporations_200_ok", "description": "200 ok integer"}, "title": "get_alliances_alliance_id_corporations_ok", "description": "200 ok array"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_alliances_alliance_id_corporations", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v4/characters/{character_id}/": {"get": {"description": "Public information about a character\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get character's public information", "tags": ["Character"], "parameters": [{"$ref": "#/parameters/character_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Public data for the given character", "examples": {"application/json": {"corporation_id": 109299958, "birthday": "2015-03-24T11:37:00Z", "name": "CCP Bartender", "gender": "male", "race_id": 2, "description": "", "bloodline_id": 3, "ancestry_id": 19}}, "schema": {"type": "object", "required": ["corporation_id", "birthday", "name", "gender", "race_id", "bloodline_id"], "properties": {"name": {"type": "string", "title": "get_characters_character_id_name", "description": "name string"}, "description": {"type": "string", "title": "get_characters_character_id_description", "description": "description string"}, "corporation_id": {"type": "integer", "format": "int32", "description": "The character's corporation ID", "title": "get_characters_character_id_corporation_id"}, "alliance_id": {"type": "integer", "format": "int32", "description": "The character's alliance ID", "title": "get_characters_character_id_alliance_id"}, "birthday": {"type": "string", "format": "date-time", "description": "Creation date of the character", "title": "get_characters_character_id_birthday"}, "gender": {"type": "string", "enum": ["female", "male"], "title": "get_characters_character_id_gender", "description": "gender string"}, "race_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_race_id", "description": "race_id integer"}, "bloodline_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_bloodline_id", "description": "bloodline_id integer"}, "ancestry_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_ancestry_id", "description": "ancestry_id integer"}, "security_status": {"type": "number", "format": "float", "minimum": -10, "maximum": 10, "title": "get_characters_character_id_security_status", "description": "security_status number"}, "faction_id": {"type": "integer", "format": "int32", "description": "ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare", "title": "get_characters_character_id_faction_id"}}, "title": "get_characters_character_id_ok", "description": "200 ok object", "x-model": "get_characters_character_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Character not found", "schema": {"type": "object", "title": "get_characters_character_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_characters_character_id_404_not_found"}}, "x-model": "get_characters_character_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_characters_character_id", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "v4"]}}, "/v4/corporations/{corporation_id}/": {"get": {"description": "Public information about a corporation\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get corporation information", "tags": ["Corporation"], "parameters": [{"$ref": "#/parameters/corporation_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Public information about a corporation", "examples": {"application/json": {"name": "C C P", "ticker": "-CCP-", "member_count": 656, "ceo_id": 180548812, "alliance_id": 434243723, "description": "This is a corporation description, it's basically just a string", "tax_rate": 0.256, "date_founded": "2004-11-28T16:42:51Z", "creator_id": 180548812, "url": "http://www.eveonline.com"}}, "schema": {"type": "object", "required": ["name", "ticker", "member_count", "ceo_id", "tax_rate", "creator_id"], "properties": {"name": {"type": "string", "description": "the full name of the corporation", "title": "get_corporations_corporation_id_name"}, "ticker": {"type": "string", "description": "the short name of the corporation", "title": "get_corporations_corporation_id_ticker"}, "member_count": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_member_count", "description": "member_count integer"}, "ceo_id": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_ceo_id", "description": "ceo_id integer"}, "alliance_id": {"type": "integer", "format": "int32", "description": "ID of the alliance that corporation is a member of, if any", "title": "get_corporations_corporation_id_alliance_id"}, "description": {"type": "string", "title": "get_corporations_corporation_id_description", "description": "description string"}, "tax_rate": {"type": "number", "format": "float", "minimum": 0, "maximum": 1, "title": "get_corporations_corporation_id_tax_rate", "description": "tax_rate number"}, "date_founded": {"type": "string", "format": "date-time", "title": "get_corporations_corporation_id_date_founded", "description": "date_founded string"}, "creator_id": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_creator_id", "description": "creator_id integer"}, "url": {"type": "string", "title": "get_corporations_corporation_id_url", "description": "url string"}, "faction_id": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_faction_id", "description": "faction_id integer"}, "home_station_id": {"type": "integer", "format": "int32", "title": "get_corporations_corporation_id_home_station_id", "description": "home_station_id integer"}, "shares": {"type": "integer", "format": "int64", "title": "get_corporations_corporation_id_shares", "description": "shares integer"}}, "title": "get_corporations_corporation_id_ok", "description": "200 ok object", "x-model": "get_corporations_corporation_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Corporation not found", "schema": {"type": "object", "title": "get_corporations_corporation_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_corporations_corporation_id_404_not_found"}}, "x-model": "get_corporations_corporation_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_corporations_corporation_id", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "v4"]}}, "/v3/universe/types/{type_id}/": {"get": {"description": "Get information on a type\n\n---\n\nThis route expires daily at 11:05", "summary": "Get type information", "tags": ["Universe"], "parameters": [{"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/language", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"name": "type_id", "in": "path", "description": "An Eve item type ID", "required": true, "type": "integer", "format": "int32"}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Information about a type", "examples": {"application/json": {"type_id": 587, "name": "Rifter", "description": "The Rifter is a...", "published": true, "group_id": 25}}, "schema": {"type": "object", "required": ["type_id", "name", "description", "published", "group_id"], "properties": {"type_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_type_id", "description": "type_id integer"}, "name": {"type": "string", "title": "get_universe_types_type_id_name", "description": "name string"}, "description": {"type": "string", "title": "get_universe_types_type_id_description", "description": "description string"}, "published": {"type": "boolean", "title": "get_universe_types_type_id_published", "description": "published boolean"}, "group_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_group_id", "description": "group_id integer"}, "market_group_id": {"type": "integer", "format": "int32", "description": "This only exists for types that can be put on the market", "title": "get_universe_types_type_id_market_group_id"}, "radius": {"type": "number", "format": "float", "title": "get_universe_types_type_id_radius", "description": "radius number"}, "volume": {"type": "number", "format": "float", "title": "get_universe_types_type_id_volume", "description": "volume number"}, "packaged_volume": {"type": "number", "format": "float", "title": "get_universe_types_type_id_packaged_volume", "description": "packaged_volume number"}, "icon_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_icon_id", "description": "icon_id integer"}, "capacity": {"type": "number", "format": "float", "title": "get_universe_types_type_id_capacity", "description": "capacity number"}, "portion_size": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_portion_size", "description": "portion_size integer"}, "mass": {"type": "number", "format": "float", "title": "get_universe_types_type_id_mass", "description": "mass number"}, "graphic_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_graphic_id", "description": "graphic_id integer"}, "dogma_attributes": {"type": "array", "maxItems": 1000, "items": {"type": "object", "required": ["attribute_id", "value"], "properties": {"attribute_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_attribute_id", "description": "attribute_id integer"}, "value": {"type": "number", "format": "float", "title": "get_universe_types_type_id_value", "description": "value number"}}, "title": "get_universe_types_type_id_dogma_attribute", "description": "dogma_attribute object", "x-model": "get_universe_types_type_id_dogma_attribute"}, "title": "get_universe_types_type_id_dogma_attributes", "description": "dogma_attributes array"}, "dogma_effects": {"type": "array", "maxItems": 1000, "items": {"type": "object", "required": ["effect_id", "is_default"], "properties": {"effect_id": {"type": "integer", "format": "int32", "title": "get_universe_types_type_id_effect_id", "description": "effect_id integer"}, "is_default": {"type": "boolean", "title": "get_universe_types_type_id_is_default", "description": "is_default boolean"}}, "title": "get_universe_types_type_id_dogma_effect", "description": "dogma_effect object", "x-model": "get_universe_types_type_id_dogma_effect"}, "title": "get_universe_types_type_id_dogma_effects", "description": "dogma_effects array"}}, "title": "get_universe_types_type_id_ok", "description": "200 ok object", "x-model": "get_universe_types_type_id_ok"}, "headers": {"Content-Language": {"description": "The language used in the response", "type": "string", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"]}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Type not found", "schema": {"type": "object", "title": "get_universe_types_type_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_universe_types_type_id_404_not_found"}}, "x-model": "get_universe_types_type_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_universe_types_type_id", "x-alternate-versions": ["dev", "v3"]}}}} \ No newline at end of file diff --git a/allianceauth/fleetactivitytracking/swagger.json b/allianceauth/fleetactivitytracking/swagger.json index 7d1cab86..4092b658 100644 --- a/allianceauth/fleetactivitytracking/swagger.json +++ b/allianceauth/fleetactivitytracking/swagger.json @@ -1 +1 @@ -{"schemes": ["https"], "securityDefinitions": {"evesso": {"flow": "implicit", "type": "oauth2", "authorizationUrl": "https://login.eveonline.com/oauth/authorize", "scopes": {"esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-corporations.write_structures.v1": "EVE SSO scope esi-corporations.write_structures.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1"}}}, "swagger": "2.0", "info": {"description": "An OpenAPI for EVE Online", "version": "0.5.5", "title": "EVE Swagger Interface"}, "basePath": "/", "paths": {"/v1/characters/{character_id}/ship/": {"get": {"description": "Get the current ship type, name and id\n\n---\n\nThis route is cached for up to 5 seconds", "responses": {"200": {"description": "Get the current ship type, name and id", "examples": {"application/json": {"ship_item_id": 1000000016991, "ship_type_id": 1233, "ship_name": "SPACESHIPS!!!"}}, "schema": {"description": "200 ok object", "properties": {"ship_item_id": {"description": "Item id's are unique to a ship and persist until it is repackaged. This value can be used to track repeated uses of a ship, or detect when a pilot changes into a different instance of the same ship type.", "format": "int64", "type": "integer", "title": "get_characters_character_id_ship_ship_item_id"}, "ship_type_id": {"description": "ship_type_id integer", "format": "int32", "type": "integer", "title": "get_characters_character_id_ship_ship_type_id"}, "ship_name": {"description": "ship_name string", "type": "string", "title": "get_characters_character_id_ship_ship_name"}}, "title": "get_characters_character_id_ship_ok", "type": "object", "required": ["ship_type_id", "ship_item_id", "ship_name"]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "403": {"description": "Forbidden", "examples": {"application/json": {"error": "Forbidden message"}}, "schema": {"$ref": "#/definitions/forbidden"}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}}}, "x-alternate-versions": ["dev", "legacy", "v1"], "parameters": [{"$ref": "#/parameters/character_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/token"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-cached-seconds": 5, "summary": "Get current ship", "security": [{"evesso": ["esi-location.read_ship_type.v1"]}], "operationId": "get_characters_character_id_ship", "tags": ["Location"]}}, "/v3/universe/systems/{system_id}/": {"get": {"description": "Get information on a solar system\n\n---\n\nThis route expires daily at 11:05", "responses": {"200": {"description": "Information about a solar system", "examples": {"application/json": {"position": {"y": 43938227486247170, "x": -91174141133075340, "z": -56482824383339900}, "constellation_id": 20000001, "planets": [{"planet_id": 40000041, "moons": [40000042]}, {"planet_id": 40000043}], "security_status": 0.8462923765182495, "name": "Akpivem", "security_class": "B", "system_id": 30000003, "star_id": 40000040, "stargates": [50000342]}}, "schema": {"description": "200 ok object", "properties": {"position": {"description": "position object", "properties": {"y": {"description": "y number", "format": "float", "type": "number", "title": "get_universe_systems_system_id_y"}, "x": {"description": "x number", "format": "float", "type": "number", "title": "get_universe_systems_system_id_x"}, "z": {"description": "z number", "format": "float", "type": "number", "title": "get_universe_systems_system_id_z"}}, "title": "get_universe_systems_system_id_position", "type": "object", "required": ["x", "y", "z"]}, "constellation_id": {"description": "The constellation this solar system is in", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_constellation_id"}, "planets": {"description": "planets array", "items": {"description": "planet object", "properties": {"planet_id": {"description": "planet_id integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_planet_id"}, "moons": {"description": "moons array", "items": {"description": "moon integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_moon"}, "maxItems": 1000, "type": "array", "title": "get_universe_systems_system_id_moons"}}, "title": "get_universe_systems_system_id_planet", "type": "object", "required": ["planet_id"]}, "maxItems": 1000, "type": "array", "title": "get_universe_systems_system_id_planets"}, "security_status": {"description": "security_status number", "format": "float", "type": "number", "title": "get_universe_systems_system_id_security_status"}, "name": {"description": "name string", "type": "string", "title": "get_universe_systems_system_id_name"}, "stations": {"description": "stations array", "items": {"description": "station integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_station"}, "maxItems": 25, "type": "array", "title": "get_universe_systems_system_id_stations"}, "security_class": {"description": "security_class string", "type": "string", "title": "get_universe_systems_system_id_security_class"}, "system_id": {"description": "system_id integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_system_id"}, "star_id": {"description": "star_id integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_star_id"}, "stargates": {"description": "stargates array", "items": {"description": "stargate integer", "format": "int32", "type": "integer", "title": "get_universe_systems_system_id_stargate"}, "maxItems": 25, "type": "array", "title": "get_universe_systems_system_id_stargates"}}, "title": "get_universe_systems_system_id_ok", "type": "object", "required": ["star_id", "system_id", "name", "position", "security_status", "constellation_id", "planets"]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Content-Language": {"description": "The language used in the response", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}}, "404": {"description": "Solar system not found", "examples": {"application/json": {"error": "Not found message"}}, "schema": {"description": "Not found", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_universe_systems_system_id_404_not_found"}}, "type": "object", "title": "get_universe_systems_system_id_not_found"}}}, "x-alternate-versions": ["dev", "v3"], "parameters": [{"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/language"}, {"description": "system_id integer", "format": "int32", "in": "path", "required": true, "name": "system_id", "type": "integer"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "summary": "Get solar system information", "tags": ["Universe"], "operationId": "get_universe_systems_system_id"}}, "/v1/characters/{character_id}/location/": {"get": {"description": "Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable.\n\n---\n\nThis route is cached for up to 5 seconds", "responses": {"200": {"description": "Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable.", "examples": {"application/json": {"solar_system_id": 30002505, "structure_id": 1000000016989}}, "schema": {"description": "200 ok object", "properties": {"station_id": {"description": "station_id integer", "format": "int32", "type": "integer", "title": "get_characters_character_id_location_station_id"}, "solar_system_id": {"description": "solar_system_id integer", "format": "int32", "type": "integer", "title": "get_characters_character_id_location_solar_system_id"}, "structure_id": {"description": "structure_id integer", "format": "int64", "type": "integer", "title": "get_characters_character_id_location_structure_id"}}, "title": "get_characters_character_id_location_ok", "type": "object", "required": ["solar_system_id"]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "403": {"description": "Forbidden", "examples": {"application/json": {"error": "Forbidden message"}}, "schema": {"$ref": "#/definitions/forbidden"}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}}}, "x-alternate-versions": ["dev", "legacy", "v1"], "parameters": [{"$ref": "#/parameters/character_id"}, {"$ref": "#/parameters/datasource"}, {"$ref": "#/parameters/token"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-cached-seconds": 5, "summary": "Get character location", "security": [{"evesso": ["esi-location.read_location.v1"]}], "operationId": "get_characters_character_id_location", "tags": ["Location"]}}, "/v2/universe/stations/{station_id}/": {"get": {"description": "Get information on a station\n\n---\n\nThis route is cached for up to 300 seconds", "responses": {"200": {"description": "Information about a station", "examples": {"application/json": {"race_id": 1, "office_rental_cost": 10000, "system_id": 30000148, "services": ["courier-missions", "reprocessing-plant", "market", "repair-facilities", "fitting", "news", "storage", "insurance", "docking", "office-rental", "loyalty-point-store", "navy-offices"], "station_id": 60000277, "reprocessing_stations_take": 0.05, "reprocessing_efficiency": 0.5, "position": {"y": 2771804160, "x": 165632286720, "z": -2455331266560}, "owner": 1000003, "name": "Jakanerva III - Moon 15 - Prompt Delivery Storage", "type_id": 1531, "max_dockable_ship_volume": 50000000}}, "schema": {"description": "200 ok object", "properties": {"race_id": {"description": "race_id integer", "format": "int32", "type": "integer", "title": "get_universe_stations_station_id_race_id"}, "office_rental_cost": {"description": "office_rental_cost number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_office_rental_cost"}, "system_id": {"description": "The solar system this station is in", "format": "int32", "type": "integer", "title": "get_universe_stations_station_id_system_id"}, "services": {"description": "services array", "items": {"description": "service string", "enum": ["bounty-missions", "assasination-missions", "courier-missions", "interbus", "reprocessing-plant", "refinery", "market", "black-market", "stock-exchange", "cloning", "surgery", "dna-therapy", "repair-facilities", "factory", "labratory", "gambling", "fitting", "paintshop", "news", "storage", "insurance", "docking", "office-rental", "jump-clone-facility", "loyalty-point-store", "navy-offices", "security-offices"], "type": "string", "title": "get_universe_stations_station_id_service"}, "maxItems": 30, "type": "array", "title": "get_universe_stations_station_id_services"}, "station_id": {"description": "station_id integer", "format": "int32", "type": "integer", "title": "get_universe_stations_station_id_station_id"}, "reprocessing_stations_take": {"description": "reprocessing_stations_take number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_reprocessing_stations_take"}, "reprocessing_efficiency": {"description": "reprocessing_efficiency number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_reprocessing_efficiency"}, "position": {"description": "position object", "properties": {"y": {"description": "y number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_y"}, "x": {"description": "x number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_x"}, "z": {"description": "z number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_z"}}, "title": "get_universe_stations_station_id_position", "type": "object", "required": ["x", "y", "z"]}, "owner": {"description": "ID of the corporation that controls this station", "format": "int32", "type": "integer", "title": "get_universe_stations_station_id_owner"}, "name": {"description": "name string", "type": "string", "title": "get_universe_stations_station_id_name"}, "type_id": {"description": "type_id integer", "format": "int32", "type": "integer", "title": "get_universe_stations_station_id_type_id"}, "max_dockable_ship_volume": {"description": "max_dockable_ship_volume number", "format": "float", "type": "number", "title": "get_universe_stations_station_id_max_dockable_ship_volume"}}, "title": "get_universe_stations_station_id_ok", "type": "object", "required": ["station_id", "name", "type_id", "position", "system_id", "reprocessing_efficiency", "reprocessing_stations_take", "max_dockable_ship_volume", "office_rental_cost", "services"]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}}, "404": {"description": "Station not found", "examples": {"application/json": {"error": "Not found message"}}, "schema": {"description": "Not found", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_universe_stations_station_id_404_not_found"}}, "type": "object", "title": "get_universe_stations_station_id_not_found"}}}, "x-alternate-versions": ["dev", "v2"], "parameters": [{"$ref": "#/parameters/datasource"}, {"description": "station_id integer", "format": "int32", "in": "path", "required": true, "name": "station_id", "type": "integer"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-cached-seconds": 300, "summary": "Get station information", "tags": ["Universe"], "operationId": "get_universe_stations_station_id"}}, "/v1/universe/structures/{structure_id}/": {"get": {"description": "Returns information on requested structure, if you are on the ACL. Otherwise, returns \"Forbidden\" for all inputs.\n\n---\n\nThis route is cached for up to 3600 seconds", "responses": {"200": {"description": "Data about a structure", "examples": {"application/json": {"solar_system_id": 30000142, "name": "V-3YG7 VI - The Capital"}}, "schema": {"description": "200 ok object", "properties": {"position": {"description": "Coordinates of the structure in Cartesian space relative to the Sun, in metres.\n", "properties": {"y": {"description": "y number", "format": "float", "type": "number", "title": "get_universe_structures_structure_id_y"}, "x": {"description": "x number", "format": "float", "type": "number", "title": "get_universe_structures_structure_id_x"}, "z": {"description": "z number", "format": "float", "type": "number", "title": "get_universe_structures_structure_id_z"}}, "title": "get_universe_structures_structure_id_position", "type": "object", "required": ["x", "y", "z"]}, "type_id": {"description": "type_id integer", "format": "int32", "type": "integer", "title": "get_universe_structures_structure_id_type_id"}, "solar_system_id": {"description": "solar_system_id integer", "format": "int32", "type": "integer", "title": "get_universe_structures_structure_id_solar_system_id"}, "name": {"description": "The full name of the structure", "type": "string", "title": "get_universe_structures_structure_id_name"}}, "title": "get_universe_structures_structure_id_ok", "type": "object", "required": ["name", "solar_system_id"]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "403": {"description": "Forbidden", "examples": {"application/json": {"error": "Forbidden message"}}, "schema": {"$ref": "#/definitions/forbidden"}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error"}}, "404": {"description": "Structure not found", "examples": {"application/json": {"error": "Not found message"}}, "schema": {"description": "Not found", "properties": {"error": {"description": "Not found message", "type": "string", "title": "get_universe_structures_structure_id_404_not_found"}}, "type": "object", "title": "get_universe_structures_structure_id_not_found"}}}, "x-alternate-versions": ["dev", "legacy", "v1"], "parameters": [{"$ref": "#/parameters/datasource"}, {"description": "An Eve structure ID", "format": "int64", "in": "path", "required": true, "name": "structure_id", "type": "integer"}, {"$ref": "#/parameters/token"}, {"$ref": "#/parameters/user_agent"}, {"$ref": "#/parameters/X-User-Agent"}], "x-cached-seconds": 3600, "summary": "Get structure information", "security": [{"evesso": ["esi-universe.read_structures.v1"]}], "operationId": "get_universe_structures_structure_id", "tags": ["Universe"]}}}, "host": "esi.tech.ccp.is", "parameters": {"page": {"description": "Which page of results to return", "format": "int32", "default": 1, "name": "page", "in": "query", "type": "integer"}, "alliance_id": {"description": "An EVE alliance ID", "format": "int32", "in": "path", "required": true, "name": "alliance_id", "type": "integer"}, "character_id": {"description": "An EVE character ID", "format": "int32", "in": "path", "required": true, "name": "character_id", "type": "integer"}, "X-User-Agent": {"description": "Client identifier, takes precedence over User-Agent", "name": "X-User-Agent", "type": "string", "in": "header"}, "datasource": {"description": "The server name you would like data from", "default": "tranquility", "name": "datasource", "enum": ["tranquility", "singularity"], "in": "query", "type": "string"}, "token": {"description": "Access token to use if unable to set a header", "name": "token", "type": "string", "in": "query"}, "language": {"description": "Language to use in the response", "default": "en-us", "name": "language", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "in": "query", "type": "string"}, "corporation_id": {"description": "An EVE corporation ID", "format": "int32", "in": "path", "required": true, "name": "corporation_id", "type": "integer"}, "user_agent": {"description": "Client identifier, takes precedence over headers", "name": "user_agent", "type": "string", "in": "query"}}, "definitions": {"internal_server_error": {"description": "Internal server error model", "properties": {"error": {"description": "Internal server error message", "type": "string"}}, "title": "Internal server error", "type": "object", "required": ["error"]}, "forbidden": {"description": "Forbidden model", "properties": {"error": {"description": "Forbidden message", "type": "string"}, "sso_status": {"description": "Status code received from SSO", "type": "integer"}}, "title": "Forbidden", "type": "object", "required": ["error"]}}, "produces": ["application/json"]} \ No newline at end of file +{"swagger": "2.0", "info": {"title": "EVE Swagger Interface", "description": "An OpenAPI for EVE Online", "version": "0.8.0"}, "host": "esi.tech.ccp.is", "schemes": ["https"], "produces": ["application/json"], "securityDefinitions": {"evesso": {"type": "oauth2", "authorizationUrl": "https://login.eveonline.com/oauth/authorize", "flow": "implicit", "scopes": {"esi-alliances.read_contacts.v1": "EVE SSO scope esi-alliances.read_contacts.v1", "esi-assets.read_assets.v1": "EVE SSO scope esi-assets.read_assets.v1", "esi-assets.read_corporation_assets.v1": "EVE SSO scope esi-assets.read_corporation_assets.v1", "esi-bookmarks.read_character_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_character_bookmarks.v1", "esi-bookmarks.read_corporation_bookmarks.v1": "EVE SSO scope esi-bookmarks.read_corporation_bookmarks.v1", "esi-calendar.read_calendar_events.v1": "EVE SSO scope esi-calendar.read_calendar_events.v1", "esi-calendar.respond_calendar_events.v1": "EVE SSO scope esi-calendar.respond_calendar_events.v1", "esi-characters.read_agents_research.v1": "EVE SSO scope esi-characters.read_agents_research.v1", "esi-characters.read_blueprints.v1": "EVE SSO scope esi-characters.read_blueprints.v1", "esi-characters.read_chat_channels.v1": "EVE SSO scope esi-characters.read_chat_channels.v1", "esi-characters.read_contacts.v1": "EVE SSO scope esi-characters.read_contacts.v1", "esi-characters.read_corporation_roles.v1": "EVE SSO scope esi-characters.read_corporation_roles.v1", "esi-characters.read_fatigue.v1": "EVE SSO scope esi-characters.read_fatigue.v1", "esi-characters.read_fw_stats.v1": "EVE SSO scope esi-characters.read_fw_stats.v1", "esi-characters.read_loyalty.v1": "EVE SSO scope esi-characters.read_loyalty.v1", "esi-characters.read_medals.v1": "EVE SSO scope esi-characters.read_medals.v1", "esi-characters.read_notifications.v1": "EVE SSO scope esi-characters.read_notifications.v1", "esi-characters.read_opportunities.v1": "EVE SSO scope esi-characters.read_opportunities.v1", "esi-characters.read_standings.v1": "EVE SSO scope esi-characters.read_standings.v1", "esi-characters.read_titles.v1": "EVE SSO scope esi-characters.read_titles.v1", "esi-characters.write_contacts.v1": "EVE SSO scope esi-characters.write_contacts.v1", "esi-characterstats.read.v1": "EVE SSO scope esi-characterstats.read.v1", "esi-clones.read_clones.v1": "EVE SSO scope esi-clones.read_clones.v1", "esi-clones.read_implants.v1": "EVE SSO scope esi-clones.read_implants.v1", "esi-contracts.read_character_contracts.v1": "EVE SSO scope esi-contracts.read_character_contracts.v1", "esi-contracts.read_corporation_contracts.v1": "EVE SSO scope esi-contracts.read_corporation_contracts.v1", "esi-corporations.read_blueprints.v1": "EVE SSO scope esi-corporations.read_blueprints.v1", "esi-corporations.read_contacts.v1": "EVE SSO scope esi-corporations.read_contacts.v1", "esi-corporations.read_container_logs.v1": "EVE SSO scope esi-corporations.read_container_logs.v1", "esi-corporations.read_corporation_membership.v1": "EVE SSO scope esi-corporations.read_corporation_membership.v1", "esi-corporations.read_divisions.v1": "EVE SSO scope esi-corporations.read_divisions.v1", "esi-corporations.read_facilities.v1": "EVE SSO scope esi-corporations.read_facilities.v1", "esi-corporations.read_fw_stats.v1": "EVE SSO scope esi-corporations.read_fw_stats.v1", "esi-corporations.read_medals.v1": "EVE SSO scope esi-corporations.read_medals.v1", "esi-corporations.read_outposts.v1": "EVE SSO scope esi-corporations.read_outposts.v1", "esi-corporations.read_standings.v1": "EVE SSO scope esi-corporations.read_standings.v1", "esi-corporations.read_starbases.v1": "EVE SSO scope esi-corporations.read_starbases.v1", "esi-corporations.read_structures.v1": "EVE SSO scope esi-corporations.read_structures.v1", "esi-corporations.read_titles.v1": "EVE SSO scope esi-corporations.read_titles.v1", "esi-corporations.track_members.v1": "EVE SSO scope esi-corporations.track_members.v1", "esi-fittings.read_fittings.v1": "EVE SSO scope esi-fittings.read_fittings.v1", "esi-fittings.write_fittings.v1": "EVE SSO scope esi-fittings.write_fittings.v1", "esi-fleets.read_fleet.v1": "EVE SSO scope esi-fleets.read_fleet.v1", "esi-fleets.write_fleet.v1": "EVE SSO scope esi-fleets.write_fleet.v1", "esi-industry.read_character_jobs.v1": "EVE SSO scope esi-industry.read_character_jobs.v1", "esi-industry.read_character_mining.v1": "EVE SSO scope esi-industry.read_character_mining.v1", "esi-industry.read_corporation_jobs.v1": "EVE SSO scope esi-industry.read_corporation_jobs.v1", "esi-industry.read_corporation_mining.v1": "EVE SSO scope esi-industry.read_corporation_mining.v1", "esi-killmails.read_corporation_killmails.v1": "EVE SSO scope esi-killmails.read_corporation_killmails.v1", "esi-killmails.read_killmails.v1": "EVE SSO scope esi-killmails.read_killmails.v1", "esi-location.read_location.v1": "EVE SSO scope esi-location.read_location.v1", "esi-location.read_online.v1": "EVE SSO scope esi-location.read_online.v1", "esi-location.read_ship_type.v1": "EVE SSO scope esi-location.read_ship_type.v1", "esi-mail.organize_mail.v1": "EVE SSO scope esi-mail.organize_mail.v1", "esi-mail.read_mail.v1": "EVE SSO scope esi-mail.read_mail.v1", "esi-mail.send_mail.v1": "EVE SSO scope esi-mail.send_mail.v1", "esi-markets.read_character_orders.v1": "EVE SSO scope esi-markets.read_character_orders.v1", "esi-markets.read_corporation_orders.v1": "EVE SSO scope esi-markets.read_corporation_orders.v1", "esi-markets.structure_markets.v1": "EVE SSO scope esi-markets.structure_markets.v1", "esi-planets.manage_planets.v1": "EVE SSO scope esi-planets.manage_planets.v1", "esi-planets.read_customs_offices.v1": "EVE SSO scope esi-planets.read_customs_offices.v1", "esi-search.search_structures.v1": "EVE SSO scope esi-search.search_structures.v1", "esi-skills.read_skillqueue.v1": "EVE SSO scope esi-skills.read_skillqueue.v1", "esi-skills.read_skills.v1": "EVE SSO scope esi-skills.read_skills.v1", "esi-ui.open_window.v1": "EVE SSO scope esi-ui.open_window.v1", "esi-ui.write_waypoint.v1": "EVE SSO scope esi-ui.write_waypoint.v1", "esi-universe.read_structures.v1": "EVE SSO scope esi-universe.read_structures.v1", "esi-wallet.read_character_wallet.v1": "EVE SSO scope esi-wallet.read_character_wallet.v1", "esi-wallet.read_corporation_wallets.v1": "EVE SSO scope esi-wallet.read_corporation_wallets.v1"}}}, "parameters": {"datasource": {"name": "datasource", "description": "The server name you would like data from", "in": "query", "type": "string", "default": "tranquility", "enum": ["tranquility", "singularity"]}, "user_agent": {"name": "user_agent", "description": "Client identifier, takes precedence over headers", "in": "query", "type": "string"}, "X-User-Agent": {"name": "X-User-Agent", "description": "Client identifier, takes precedence over User-Agent", "in": "header", "type": "string"}, "page": {"name": "page", "description": "Which page of results to return", "in": "query", "type": "integer", "format": "int32", "default": 1}, "token": {"name": "token", "description": "Access token to use if unable to set a header", "in": "query", "type": "string"}, "character_id": {"description": "An EVE character ID", "format": "int32", "in": "path", "minimum": 1, "name": "character_id", "required": true, "type": "integer"}, "corporation_id": {"description": "An EVE corporation ID", "format": "int32", "in": "path", "minimum": 1, "name": "corporation_id", "required": true, "type": "integer"}, "language": {"name": "language", "description": "Language to use in the response", "in": "query", "type": "string", "default": "en-us", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"]}, "alliance_id": {"description": "An EVE alliance ID", "format": "int32", "in": "path", "minimum": 1, "name": "alliance_id", "required": true, "type": "integer"}}, "definitions": {"unauthorized": {"type": "object", "description": "Unauthorized model", "title": "Unauthorized", "required": ["error"], "properties": {"error": {"type": "string", "description": "Unauthorized message"}}, "x-model": "Unauthorized"}, "forbidden": {"type": "object", "description": "Forbidden model", "title": "Forbidden", "required": ["error"], "properties": {"error": {"type": "string", "description": "Forbidden message"}, "sso_status": {"type": "integer", "description": "Status code received from SSO"}}, "x-model": "Forbidden"}, "bad_request": {"type": "object", "description": "Bad request model", "title": "Bad request", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad request message"}}, "x-model": "Bad request"}, "internal_server_error": {"type": "object", "description": "Internal server error model", "title": "Internal server error", "required": ["error"], "properties": {"error": {"type": "string", "description": "Internal server error message"}}, "x-model": "Internal server error"}, "bad_gateway": {"type": "object", "description": "Bad gateway model", "title": "Bad gateway", "required": ["error"], "properties": {"error": {"type": "string", "description": "Bad gateway message"}}, "x-model": "Bad gateway"}, "service_unavailable": {"type": "object", "description": "Service unavailable model", "title": "Service unavailable", "required": ["error"], "properties": {"error": {"type": "string", "description": "Service unavailable message"}}, "x-model": "Service unavailable"}}, "paths": {"/v1/characters/{character_id}/location/": {"get": {"description": "Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable.\n\n---\n\nThis route is cached for up to 5 seconds", "summary": "Get character location", "tags": ["Location"], "parameters": [{"$ref": "#/parameters/character_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/token", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable.", "examples": {"application/json": {"solar_system_id": 30002505, "structure_id": 1000000016989}}, "schema": {"type": "object", "required": ["solar_system_id"], "properties": {"solar_system_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_location_solar_system_id", "description": "solar_system_id integer"}, "station_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_location_station_id", "description": "station_id integer"}, "structure_id": {"type": "integer", "format": "int64", "title": "get_characters_character_id_location_structure_id", "description": "structure_id integer"}}, "title": "get_characters_character_id_location_ok", "description": "200 ok object", "x-model": "get_characters_character_id_location_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/unauthorized", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Unauthorized message"}}}, "403": {"description": "Forbidden", "schema": {"$ref": "#/definitions/forbidden", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Forbidden message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "security": [{"evesso": ["esi-location.read_location.v1"]}], "operationId": "get_characters_character_id_location", "x-cached-seconds": 5, "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v1/characters/{character_id}/ship/": {"get": {"description": "Get the current ship type, name and id\n\n---\n\nThis route is cached for up to 5 seconds", "summary": "Get current ship", "tags": ["Location"], "parameters": [{"$ref": "#/parameters/character_id", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/token", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Get the current ship type, name and id", "examples": {"application/json": {"ship_type_id": 1233, "ship_name": "SPACESHIPS!!!", "ship_item_id": 1000000016991}}, "schema": {"type": "object", "required": ["ship_type_id", "ship_item_id", "ship_name"], "properties": {"ship_type_id": {"type": "integer", "format": "int32", "title": "get_characters_character_id_ship_ship_type_id", "description": "ship_type_id integer"}, "ship_item_id": {"type": "integer", "format": "int64", "description": "Item id's are unique to a ship and persist until it is repackaged. This value can be used to track repeated uses of a ship, or detect when a pilot changes into a different instance of the same ship type.", "title": "get_characters_character_id_ship_ship_item_id"}, "ship_name": {"type": "string", "title": "get_characters_character_id_ship_ship_name", "description": "ship_name string"}}, "title": "get_characters_character_id_ship_ok", "description": "200 ok object", "x-model": "get_characters_character_id_ship_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/unauthorized", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Unauthorized message"}}}, "403": {"description": "Forbidden", "schema": {"$ref": "#/definitions/forbidden", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Forbidden message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "security": [{"evesso": ["esi-location.read_ship_type.v1"]}], "operationId": "get_characters_character_id_ship", "x-cached-seconds": 5, "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v2/universe/stations/{station_id}/": {"get": {"description": "Get information on a station\n\n---\n\nThis route is cached for up to 300 seconds", "summary": "Get station information", "tags": ["Universe"], "parameters": [{"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"name": "station_id", "in": "path", "required": true, "type": "integer", "format": "int32", "description": "station_id integer"}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Information about a station", "examples": {"application/json": {"station_id": 60000277, "name": "Jakanerva III - Moon 15 - Prompt Delivery Storage", "type_id": 1531, "position": {"x": 165632286720, "y": 2771804160, "z": -2455331266560}, "system_id": 30000148, "reprocessing_efficiency": 0.5, "reprocessing_stations_take": 0.05, "max_dockable_ship_volume": 50000000, "office_rental_cost": 10000, "services": ["courier-missions", "reprocessing-plant", "market", "repair-facilities", "fitting", "news", "storage", "insurance", "docking", "office-rental", "loyalty-point-store", "navy-offices"], "owner": 1000003, "race_id": 1}}, "schema": {"type": "object", "required": ["station_id", "name", "type_id", "position", "system_id", "reprocessing_efficiency", "reprocessing_stations_take", "max_dockable_ship_volume", "office_rental_cost", "services"], "properties": {"station_id": {"type": "integer", "format": "int32", "title": "get_universe_stations_station_id_station_id", "description": "station_id integer"}, "name": {"type": "string", "title": "get_universe_stations_station_id_name", "description": "name string"}, "owner": {"type": "integer", "format": "int32", "description": "ID of the corporation that controls this station", "title": "get_universe_stations_station_id_owner"}, "type_id": {"type": "integer", "format": "int32", "title": "get_universe_stations_station_id_type_id", "description": "type_id integer"}, "race_id": {"type": "integer", "format": "int32", "title": "get_universe_stations_station_id_race_id", "description": "race_id integer"}, "position": {"type": "object", "required": ["x", "y", "z"], "properties": {"x": {"type": "number", "format": "double", "title": "get_universe_stations_station_id_x", "description": "x number"}, "y": {"type": "number", "format": "double", "title": "get_universe_stations_station_id_y", "description": "y number"}, "z": {"type": "number", "format": "double", "title": "get_universe_stations_station_id_z", "description": "z number"}}, "title": "get_universe_stations_station_id_position", "description": "position object", "x-model": "get_universe_stations_station_id_position"}, "system_id": {"type": "integer", "format": "int32", "description": "The solar system this station is in", "title": "get_universe_stations_station_id_system_id"}, "reprocessing_efficiency": {"type": "number", "format": "float", "title": "get_universe_stations_station_id_reprocessing_efficiency", "description": "reprocessing_efficiency number"}, "reprocessing_stations_take": {"type": "number", "format": "float", "title": "get_universe_stations_station_id_reprocessing_stations_take", "description": "reprocessing_stations_take number"}, "max_dockable_ship_volume": {"type": "number", "format": "float", "title": "get_universe_stations_station_id_max_dockable_ship_volume", "description": "max_dockable_ship_volume number"}, "office_rental_cost": {"type": "number", "format": "float", "title": "get_universe_stations_station_id_office_rental_cost", "description": "office_rental_cost number"}, "services": {"type": "array", "maxItems": 30, "items": {"type": "string", "enum": ["bounty-missions", "assasination-missions", "courier-missions", "interbus", "reprocessing-plant", "refinery", "market", "black-market", "stock-exchange", "cloning", "surgery", "dna-therapy", "repair-facilities", "factory", "labratory", "gambling", "fitting", "paintshop", "news", "storage", "insurance", "docking", "office-rental", "jump-clone-facility", "loyalty-point-store", "navy-offices", "security-offices"], "title": "get_universe_stations_station_id_service", "description": "service string"}, "title": "get_universe_stations_station_id_services", "description": "services array"}}, "title": "get_universe_stations_station_id_ok", "description": "200 ok object", "x-model": "get_universe_stations_station_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Station not found", "schema": {"type": "object", "title": "get_universe_stations_station_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_universe_stations_station_id_404_not_found"}}, "x-model": "get_universe_stations_station_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_universe_stations_station_id", "x-cached-seconds": 300, "x-alternate-versions": ["dev", "v2"]}}, "/v1/universe/structures/{structure_id}/": {"get": {"description": "Returns information on requested structure, if you are on the ACL. Otherwise, returns \"Forbidden\" for all inputs.\n\n---\n\nThis route is cached for up to 3600 seconds", "summary": "Get structure information", "tags": ["Universe"], "parameters": [{"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"name": "structure_id", "in": "path", "description": "An Eve structure ID", "required": true, "type": "integer", "format": "int64"}, {"$ref": "#/parameters/token", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Data about a structure", "examples": {"application/json": {"name": "V-3YG7 VI - The Capital", "solar_system_id": 30000142}}, "schema": {"type": "object", "required": ["name", "solar_system_id"], "properties": {"name": {"type": "string", "description": "The full name of the structure", "title": "get_universe_structures_structure_id_name"}, "solar_system_id": {"type": "integer", "format": "int32", "title": "get_universe_structures_structure_id_solar_system_id", "description": "solar_system_id integer"}, "type_id": {"type": "integer", "format": "int32", "title": "get_universe_structures_structure_id_type_id", "description": "type_id integer"}, "position": {"type": "object", "description": "Coordinates of the structure in Cartesian space relative to the Sun, in metres.\n", "required": ["x", "y", "z"], "properties": {"x": {"type": "number", "format": "double", "title": "get_universe_structures_structure_id_x", "description": "x number"}, "y": {"type": "number", "format": "double", "title": "get_universe_structures_structure_id_y", "description": "y number"}, "z": {"type": "number", "format": "double", "title": "get_universe_structures_structure_id_z", "description": "z number"}}, "title": "get_universe_structures_structure_id_position", "x-model": "get_universe_structures_structure_id_position"}}, "title": "get_universe_structures_structure_id_ok", "description": "200 ok object", "x-model": "get_universe_structures_structure_id_ok"}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Structure not found", "schema": {"type": "object", "title": "get_universe_structures_structure_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_universe_structures_structure_id_404_not_found"}}, "x-model": "get_universe_structures_structure_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/unauthorized", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Unauthorized message"}}}, "403": {"description": "Forbidden", "schema": {"$ref": "#/definitions/forbidden", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Forbidden message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "security": [{"evesso": ["esi-universe.read_structures.v1"]}], "operationId": "get_universe_structures_structure_id", "x-cached-seconds": 3600, "x-alternate-versions": ["dev", "legacy", "v1"]}}, "/v3/universe/systems/{system_id}/": {"get": {"description": "Get information on a solar system\n\n---\n\nThis route expires daily at 11:05", "summary": "Get solar system information", "tags": ["Universe"], "parameters": [{"$ref": "#/parameters/datasource", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/language", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"name": "system_id", "in": "path", "required": true, "type": "integer", "format": "int32", "description": "system_id integer"}, {"$ref": "#/parameters/user_agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, {"$ref": "#/parameters/X-User-Agent", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}], "responses": {"200": {"description": "Information about a solar system", "examples": {"application/json": {"system_id": 30000003, "name": "Akpivem", "position": {"x": -91174141133075340, "y": 43938227486247170, "z": -56482824383339900}, "security_status": 0.8462923765, "constellation_id": 20000001, "planets": [{"planet_id": 40000041, "moons": [40000042]}, {"planet_id": 40000043}], "stargates": [50000342], "star_id": 40000040, "security_class": "B"}}, "schema": {"type": "object", "required": ["star_id", "system_id", "name", "position", "security_status", "constellation_id", "planets"], "properties": {"star_id": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_star_id", "description": "star_id integer"}, "system_id": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_system_id", "description": "system_id integer"}, "name": {"type": "string", "title": "get_universe_systems_system_id_name", "description": "name string"}, "position": {"type": "object", "required": ["x", "y", "z"], "properties": {"x": {"type": "number", "format": "double", "title": "get_universe_systems_system_id_x", "description": "x number"}, "y": {"type": "number", "format": "double", "title": "get_universe_systems_system_id_y", "description": "y number"}, "z": {"type": "number", "format": "double", "title": "get_universe_systems_system_id_z", "description": "z number"}}, "title": "get_universe_systems_system_id_position", "description": "position object", "x-model": "get_universe_systems_system_id_position"}, "security_status": {"type": "number", "format": "float", "title": "get_universe_systems_system_id_security_status", "description": "security_status number"}, "security_class": {"type": "string", "title": "get_universe_systems_system_id_security_class", "description": "security_class string"}, "constellation_id": {"type": "integer", "format": "int32", "description": "The constellation this solar system is in", "title": "get_universe_systems_system_id_constellation_id"}, "planets": {"type": "array", "maxItems": 1000, "items": {"type": "object", "required": ["planet_id"], "properties": {"planet_id": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_planet_id", "description": "planet_id integer"}, "moons": {"type": "array", "maxItems": 1000, "items": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_moon", "description": "moon integer"}, "title": "get_universe_systems_system_id_moons", "description": "moons array"}, "asteroid_belts": {"type": "array", "maxItems": 100, "items": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_asteroid_belt", "description": "asteroid_belt integer"}, "title": "get_universe_systems_system_id_asteroid_belts", "description": "asteroid_belts array"}}, "title": "get_universe_systems_system_id_planet", "description": "planet object", "x-model": "get_universe_systems_system_id_planet"}, "title": "get_universe_systems_system_id_planets", "description": "planets array"}, "stargates": {"type": "array", "maxItems": 25, "items": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_stargate", "description": "stargate integer"}, "title": "get_universe_systems_system_id_stargates", "description": "stargates array"}, "stations": {"type": "array", "maxItems": 25, "items": {"type": "integer", "format": "int32", "title": "get_universe_systems_system_id_station", "description": "station integer"}, "title": "get_universe_systems_system_id_stations", "description": "stations array"}}, "title": "get_universe_systems_system_id_ok", "description": "200 ok object", "x-model": "get_universe_systems_system_id_ok"}, "headers": {"Content-Language": {"description": "The language used in the response", "type": "string", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"]}, "Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "404": {"description": "Solar system not found", "schema": {"type": "object", "title": "get_universe_systems_system_id_not_found", "description": "Not found", "properties": {"error": {"type": "string", "description": "Not found message", "title": "get_universe_systems_system_id_404_not_found"}}, "x-model": "get_universe_systems_system_id_not_found"}, "examples": {"application/json": {"error": "Not found message"}}}, "400": {"description": "Bad request", "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad request message"}}}, "500": {"description": "Internal server error", "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Internal server error message"}}}, "502": {"description": "Bad gateway", "schema": {"$ref": "#/definitions/bad_gateway", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Bad gateway message"}}}, "503": {"description": "Service unavailable", "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.tech.ccp.is/_latest/swagger.json"]}, "examples": {"application/json": {"error": "Service unavailable message"}}}}, "operationId": "get_universe_systems_system_id", "x-alternate-versions": ["dev", "v3"]}}}} \ No newline at end of file