diff --git a/wiki/Reservations-and-Bookings.md b/wiki/Reservations-and-Bookings.md index 301f0cf42..0dde6f25b 100644 --- a/wiki/Reservations-and-Bookings.md +++ b/wiki/Reservations-and-Bookings.md @@ -232,6 +232,8 @@ KDE Itinerary only recognises structured tickets. For confirmations it cannot re With the **AirTrail** integration addon enabled and your instance connected under **Settings → Integrations**, the **Transports** tab shows **Import from AirTrail** (the plane icon in the bar, or an **AirTrail** button on an empty tab). It lists the flights in your AirTrail account, with the ones inside the trip dates under *During this trip* and already selected. Each imported flight becomes a flight booking that stays in sync with AirTrail both ways. +TREK talks to AirTrail 3.13 and later through its `/api/v1` routes and to older instances through the legacy routes; it finds out which on its own. AirTrail 3.13 checks the scopes of an API key, so a key created there needs `flight.read.own` (import, sync and **Test connection**), `flight.update.own` (changes made in TREK going back to AirTrail), `flight.passengers.manage.own` (a changed seat or passenger), `reference_data.read` (the airport, airline and aircraft codes of a change) and `profile.read` (a change to a flight without a passenger). A key created before 3.13 has every scope and needs nothing. A missing scope does not unlink a flight: the change is not sent, and the server log names the scope to add to the key. + ### Connecting flights (layovers) When selected flights form a connection (each leg leaves from the airport the previous one landed at, within 24 hours) the picker groups them and offers to **import them as one flight with a layover**. The offer is ticked by default; untick it to keep separate bookings. A joined booking keeps each leg's airline, flight number, times and seat, the connecting airport becomes a stop on the route, and each leg shows up on its own day in the plan. Since a stop is not a destination, the layover country is not counted as visited in Atlas.