v1

latestOpenAPI 3.1.02026-07-22162733.8 KB
Pilot

Pilot career statistics

Aggregate stats for the authenticated pilot. The client uses these to render the pilot dashboard.

get/pilot/statistics

Response

Statistics for the authenticated pilot.

hours_flownnumber float required

Career flight time in decimal hours.

flights_flownstring required

Stringified PIREP count — kept as a string for backwards compatibility with older clients.

average_landing_ratenumber float required

Average touchdown rate across all filed PIREPs (feet per minute, negative).

pireps_filedstring required

Stringified PIREP count (currently identical to flights_flown).

total_paynumber required

Reserved. Always 0 in the reference implementation.

flight_streakinteger required

Reserved. Always 0 in the reference implementation.

locationstring required

ICAO of the pilot's current airport.

ff_levelinteger required

Reserved. Always 0 in the reference implementation.

ff_statusinteger required

Reserved. Always 0 in the reference implementation.

rank_imagestring uri nullable required

URL to the pilot's rank insignia image (same field as PilotSession.rank_image). Rendered by the Stratos client as a rank badge. Return null if not set. The phpVMS reference resolves this from the rank's image_url column.

Example response

{
  "flights_flown": "127",
  "pireps_filed": "127",
  "location": "YSSY"
}