mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-17 08:20:16 +02:00
1 line
24 KiB
JSON
1 line
24 KiB
JSON
{"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"]} |