v1
latestOpenAPI 3.1.02026-07-22162733.8 KBFlights
Position and phase update
Sent by the desktop client at the pilot's chosen position-update interval (currently 15, 30, or 60 seconds) while a flight is active. Each call appends a FLIGHT_PATH point to the PIREP and updates the PIREP's status based on the reported phase.
The server maps Stratos flight phases to phpVMS PIREP statuses:
| Stratos phase | phpVMS status |
|---|---|
| boarding | BOARDING |
| push_back | PUSHBACK_TOW |
| taxi | TAXI |
| take_off | TAKEOFF |
| rejected_take_off | TAXI |
| climb / cruise | ENROUTE |
| descent | APPROACH |
| approach | APPROACH_ICAO |
| final | LANDING |
| landed / taxi_in | LANDED |
| go_around | APPROACH |
| arrived / deboarding | ARRIVED |
The first update that transitions into a takeoff/climb/cruise status sets block_off_time. The first update transitioning into LANDED/ARRIVED sets block_on_time. The server's running flight time is recomputed from the first ACARS row's created_at each update.
Either uuid or tracking_id may carry the PIREP ID (the client uses them interchangeably).
post/flights/update
Request body
Response
Update accepted. The reference implementation returns an empty body.
object nullable required