mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-20 01:32:31 +02:00
1 line
22 KiB
JSON
1 line
22 KiB
JSON
{"consumes": ["application/json"], "definitions": {"bad_request": {"description": "Bad request model", "properties": {"error": {"description": "Bad request message", "type": "string"}}, "required": ["error"], "title": "Bad request", "type": "object", "x-model": "Bad request"}, "error_limited": {"description": "Error limited model", "properties": {"error": {"description": "Error limited message", "type": "string"}}, "required": ["error"], "title": "Error limited", "type": "object", "x-model": "Error limited"}, "forbidden": {"description": "Forbidden model", "properties": {"error": {"description": "Forbidden message", "type": "string"}, "sso_status": {"description": "status code received from SSO", "type": "integer"}}, "required": ["error"], "title": "Forbidden", "type": "object", "x-model": "Forbidden"}, "gateway_timeout": {"description": "Gateway timeout model", "properties": {"error": {"description": "Gateway timeout message", "type": "string"}, "timeout": {"description": "number of seconds the request was given", "type": "integer"}}, "required": ["error"], "title": "Gateway timeout", "type": "object", "x-model": "Gateway timeout"}, "internal_server_error": {"description": "Internal server error model", "properties": {"error": {"description": "Internal server error message", "type": "string"}}, "required": ["error"], "title": "Internal server error", "type": "object", "x-model": "Internal server error"}, "service_unavailable": {"description": "Service unavailable model", "properties": {"error": {"description": "Service unavailable message", "type": "string"}}, "required": ["error"], "title": "Service unavailable", "type": "object", "x-model": "Service unavailable"}, "unauthorized": {"description": "Unauthorized model", "properties": {"error": {"description": "Unauthorized message", "type": "string"}}, "required": ["error"], "title": "Unauthorized", "type": "object", "x-model": "Unauthorized"}}, "host": "esi.evetech.net", "info": {"description": "An OpenAPI for EVE Online", "title": "EVE Swagger Interface", "version": "0.8.3"}, "parameters": {"Accept-Language": {"default": "en-us", "description": "Language to use in the response", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "in": "header", "name": "Accept-Language", "type": "string"}, "If-None-Match": {"description": "ETag from a previous request. A 304 will be returned if this matches the current ETag", "in": "header", "name": "If-None-Match", "type": "string"}, "alliance_id": {"description": "An EVE alliance ID", "format": "int32", "in": "path", "minimum": 1, "name": "alliance_id", "required": true, "type": "integer"}, "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"}, "datasource": {"default": "tranquility", "description": "The server name you would like data from", "enum": ["tranquility", "singularity"], "in": "query", "name": "datasource", "type": "string"}, "language": {"default": "en-us", "description": "Language to use in the response, takes precedence over Accept-Language", "enum": ["de", "en-us", "fr", "ja", "ru", "zh"], "in": "query", "name": "language", "type": "string"}, "page": {"default": 1, "description": "Which page of results to return", "format": "int32", "in": "query", "minimum": 1, "name": "page", "type": "integer"}, "token": {"description": "Access token to use if unable to set a header", "in": "query", "name": "token", "type": "string"}}, "produces": ["application/json"], "schemes": ["https"], "securityDefinitions": {"evesso": {"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_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"}, "type": "oauth2"}}, "swagger": "2.0", "paths": {"/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", "operationId": "get_characters_names", "parameters": [{"description": "A comma separated list of character IDs", "in": "query", "items": {"format": "int64", "type": "integer"}, "maxItems": 1000, "minItems": 1, "name": "character_ids", "required": true, "type": "array"}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/If-None-Match", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}], "responses": {"200": {"description": "List of id/name associations", "examples": {"application/json": [{"character_id": 95465499, "character_name": "CCP Bartender"}]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}, "schema": {"description": "200 ok array", "items": {"description": "200 ok object", "properties": {"character_id": {"description": "character_id integer", "format": "int64", "title": "get_characters_names_character_id", "type": "integer"}, "character_name": {"description": "character_name string", "title": "get_characters_names_character_name", "type": "string"}}, "required": ["character_id", "character_name"], "title": "get_characters_names_200_ok", "type": "object", "x-model": "get_characters_names_200_ok"}, "maxItems": 1000, "title": "get_characters_names_ok", "type": "array"}}, "304": {"description": "Not modified", "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "400": {"description": "Bad request", "examples": {"application/json": {"error": "Bad request message"}}, "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "420": {"description": "Error limited", "examples": {"application/json": {"error": "Error limited message"}}, "schema": {"$ref": "#/definitions/error_limited", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "503": {"description": "Service unavailable", "examples": {"application/json": {"error": "Service unavailable message"}}, "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "504": {"description": "Gateway timeout", "examples": {"application/json": {"error": "Gateway timeout message"}}, "schema": {"$ref": "#/definitions/gateway_timeout", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}}, "summary": "Get character names", "tags": ["Character"], "x-alternate-versions": ["dev", "legacy", "v1"], "x-cached-seconds": 3600}}, "/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", "operationId": "get_corporations_corporation_id_members", "parameters": [{"$ref": "#/parameters/corporation_id", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/If-None-Match", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/token", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}], "responses": {"200": {"description": "List of member character IDs", "examples": {"application/json": [90000001, 90000002]}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}, "schema": {"description": "A list of character IDs", "items": {"description": "200 ok integer", "format": "int32", "title": "get_corporations_corporation_id_members_200_ok", "type": "integer"}, "maxItems": 12601, "title": "get_corporations_corporation_id_members_ok", "type": "array"}}, "304": {"description": "Not modified", "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "400": {"description": "Bad request", "examples": {"application/json": {"error": "Bad request message"}}, "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "401": {"description": "Unauthorized", "examples": {"application/json": {"error": "Unauthorized message"}}, "schema": {"$ref": "#/definitions/unauthorized", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "403": {"description": "Forbidden", "examples": {"application/json": {"error": "Forbidden message"}}, "schema": {"$ref": "#/definitions/forbidden", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "420": {"description": "Error limited", "examples": {"application/json": {"error": "Error limited message"}}, "schema": {"$ref": "#/definitions/error_limited", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "503": {"description": "Service unavailable", "examples": {"application/json": {"error": "Service unavailable message"}}, "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "504": {"description": "Gateway timeout", "examples": {"application/json": {"error": "Gateway timeout message"}}, "schema": {"$ref": "#/definitions/gateway_timeout", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}}, "security": [{"evesso": ["esi-corporations.read_corporation_membership.v1"]}], "summary": "Get corporation members", "tags": ["Corporation"], "x-alternate-versions": ["dev", "v3"], "x-cached-seconds": 3600}}, "/v4/characters/{character_id}/": {"get": {"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", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/datasource", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}, {"$ref": "#/parameters/If-None-Match", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}], "responses": {"200": {"description": "Public data for the given character", "examples": {"application/json": {"ancestry_id": 19, "birthday": "2015-03-24T11:37:00Z", "bloodline_id": 3, "corporation_id": 109299958, "description": "", "gender": "male", "name": "CCP Bartender", "race_id": 2}}, "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}, "schema": {"description": "200 ok object", "properties": {"alliance_id": {"description": "The character's alliance ID", "format": "int32", "title": "get_characters_character_id_alliance_id", "type": "integer"}, "ancestry_id": {"description": "ancestry_id integer", "format": "int32", "title": "get_characters_character_id_ancestry_id", "type": "integer"}, "birthday": {"description": "Creation date of the character", "format": "date-time", "title": "get_characters_character_id_birthday", "type": "string"}, "bloodline_id": {"description": "bloodline_id integer", "format": "int32", "title": "get_characters_character_id_bloodline_id", "type": "integer"}, "corporation_id": {"description": "The character's corporation ID", "format": "int32", "title": "get_characters_character_id_corporation_id", "type": "integer"}, "description": {"description": "description string", "title": "get_characters_character_id_description", "type": "string"}, "faction_id": {"description": "ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare", "format": "int32", "title": "get_characters_character_id_faction_id", "type": "integer"}, "gender": {"description": "gender string", "enum": ["female", "male"], "title": "get_characters_character_id_gender", "type": "string"}, "name": {"description": "name string", "title": "get_characters_character_id_name", "type": "string"}, "race_id": {"description": "race_id integer", "format": "int32", "title": "get_characters_character_id_race_id", "type": "integer"}, "security_status": {"description": "security_status number", "format": "float", "maximum": 10, "minimum": -10, "title": "get_characters_character_id_security_status", "type": "number"}}, "required": ["corporation_id", "birthday", "name", "gender", "race_id", "bloodline_id"], "title": "get_characters_character_id_ok", "type": "object", "x-model": "get_characters_character_id_ok"}}, "304": {"description": "Not modified", "headers": {"Cache-Control": {"description": "The caching mechanism used", "type": "string"}, "ETag": {"description": "RFC7232 compliant entity tag", "type": "string"}, "Expires": {"description": "RFC7231 formatted datetime string", "type": "string"}, "Last-Modified": {"description": "RFC7231 formatted datetime string", "type": "string"}}}, "400": {"description": "Bad request", "examples": {"application/json": {"error": "Bad request message"}}, "schema": {"$ref": "#/definitions/bad_request", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "404": {"description": "Character not found", "examples": {"application/json": {"error": "Not found message"}}, "schema": {"description": "Not found", "properties": {"error": {"description": "Not found message", "title": "get_characters_character_id_404_not_found", "type": "string"}}, "title": "get_characters_character_id_not_found", "type": "object", "x-model": "get_characters_character_id_not_found"}}, "420": {"description": "Error limited", "examples": {"application/json": {"error": "Error limited message"}}, "schema": {"$ref": "#/definitions/error_limited", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "500": {"description": "Internal server error", "examples": {"application/json": {"error": "Internal server error message"}}, "schema": {"$ref": "#/definitions/internal_server_error", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "503": {"description": "Service unavailable", "examples": {"application/json": {"error": "Service unavailable message"}}, "schema": {"$ref": "#/definitions/service_unavailable", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}, "504": {"description": "Gateway timeout", "examples": {"application/json": {"error": "Gateway timeout message"}}, "schema": {"$ref": "#/definitions/gateway_timeout", "x-scope": ["https://esi.evetech.net/_latest/swagger.json"]}}}, "summary": "Get character's public information", "tags": ["Character"], "x-alternate-versions": ["dev", "v4"], "x-cached-seconds": 3600}}}} |