Flights
Pilot's current bids
Changed onEvery flight the authenticated pilot has currently bid on (and not yet flown or unbid). The Stratos client renders this as the My Bookings list. If the pilots.only_flights_from_current VA setting is enabled, bookings whose departure airport is not the pilot's current location are filtered out server-side.
get/flights/bookings
Request
- Base URLhttps://crew.example.com/api/stratos
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Array of bookings (may be empty).
Example response
[
{
"departure_airport": "YSSY",
"arrival_airport": "YMML",
"route": [
"YSSY",
"DCT",
"RIC",
"YMML"
],
"departure_time": "0930",
"arrival_time": "1145",
"flight_time": 1.42
}
]Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info