Orion Flight Enhanced
Orion Flight Enhanced · Actions GPT
Flight Tracker API
GET /track-flightRetrieves flight information based on the aircraft registration number.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "Flight Tracker API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://ogpt-b39d5ca90542.herokuapp.com/"
}
],
"paths": {
"/track-flight": {
"get": {
"summary": "Retrieves flight information based on the aircraft registration number.",
"operationId": "trackFlight",
"parameters": [
{
"in": "query",
"name": "registration",
"required": true,
"schema": {
"type": "string"
},
"description": "The registration number of the aircraft to track. Append the registration number as a query parameter to the endpoint. For example, to track flight VT-ANU, the URL would be https://ogpt-b39d5ca90542.herokuapp.com/track-flight?registration=VT-ANU."
}
],
"responses": {
"200": {
"description": "A JSON object containing the tracking information for the given registration number.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"INFORMATION": {
"type": "object",
"properties": {
"destination": {
"$ref": "#/components/schemas/Airport"
},
"origin": {
"$ref": "#/components/schemas/Airport"
},
"real": {
"type": "string",
"nullable": true
}
}
},
"airplane_latitude": {
"type": "number"
},
"airplane_longitude": {
"type": "number"
},
"airports": {
"type": "object",
"additionalProperties": true
},
"destination_airport_iata": {
"type": "string"
},
"destination_airport_info": {
"type": "object",
"nullable": true
},
"on_ground": {
"type": "integer"
},
"origin_airport_iata": {
"type": "string"
},
"origin_airport_info": {
"type": "object",
"nullable": true
},
"registration": {
"type": "string"
},
"times": {
"$ref": "#/components/schemas/Times"
},
"speedAnalysis": {
"type": "object",
"properties": {
"maximumSpeed": {
"type": "integer"
},
"minimumSpeed": {
"type": "integer"
},
"speedVariability": {
"type": "number"
}
}
},
"altitudeAnalysis": {
"type": "object",
"properties": {
"maximumAltitude": {
"type": "integer"
},
"minimumAltitude": {
"type": "integer"
},
"altitudeVariability": {
"type": "number"
}
}
},
"directionalAnalysis": {
"type": "object",
"properties": {
"totalDirectionChanges": {
"type": "integer"
}
}
},
"timeAnalysis": {
"type": "object",
"properties": {
"totalJourneyTime": {
"type": "string"
},
"averageTimeBetweenPoints": {
"type": "string"
}
}
},
"distanceAnalysis": {
"type": "object",
"properties": {
"totalDistanceTraveled": {
"type": "number"
},
"averageDistanceBetweenPoints": {
"type": "number"
}
}
},
"efficiencyAnalysis": {
"type": "object",
"properties": {
"speedAltitudeCorrelation": {
"type": "number"
}
}
},
"locationAnalysis": {
"type": "object",
"properties": {
"startingCoordinates": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
},
"endingCoordinates": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
},
"latitudeRange": {
"type": "string"
},
"longitudeRange": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Airport": {
"type": "object",
"properties": {
"code": {
"type": "object",
"properties": {
"iata": {
"type": "string"
},
"icao": {
"type": "string"
}
}
},
"info": {
"type": "object",
"properties": {
"baggage": {
"type": "string",
"nullable": true
},
"gate": {
"type": "string",
"nullable": true
},
"terminal": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"position": {
"type": "object",
"properties": {
"altitude": {
"type": "integer"
},
"country": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"codeLong": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
}
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"region": {
"type": "object",
"properties": {
"city": {
"type": "string"
}
}
}
}
},
"timezone": {
"type": "object",
"properties": {
"abbr": {
"type": "string"
},
"abbrName": {
"type": "string"
},
"isDst": {
"type": "boolean"
},
"name": {
"type": "string"
},
"offset": {
"type": "integer"
},
"offsetHours": {
"type": "string"
}
}
},
"visible": {
"type": "boolean"
},
"website": {
"type": "string",
"format": "uri"
}
}
},
"Times": {
"type": "object",
"properties": {
"estimated": {
"type": "object",
"properties": {
"arrival": {
"type": "string",
"format": "date-time"
},
"departure": {
"type": "string",
"format": "date-time",
"nullable": true
}
}
},
"historical": {
"type": "object",
"properties": {
"delay": {
"type": "string",
"format": "date-time"
},
"flighttime": {
"type": "string",
"format": "date-time"
}
}
},
"other": {
"type": "object",
"properties": {
"eta": {
"type": "string",
"format": "date-time"
},
"updated": {
"type": "string",
"format": "date-time"
}
}
},
"real": {
"type": "object",
"properties": {
"arrival": {
"type": "string",
"format": "date-time",
"nullable": true
},
"departure": {
"type": "string",
"format": "date-time"
}
}
},
"scheduled": {
"type": "object",
"properties": {
"arrival": {
"type": "string",
"format": "date-time"
},
"departure": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}
}
}