Pilot Logbook

To get the pilot logbook (PDF), make a GET request to pilot_logbook.

GET api/latest/pilot_logbook

Example request:

GET /api/latest/pilot_logbook HTTP/1.1
Authorization: Basic NTUyMjk4ZjctY...
curl -i \
     -u eyJhbGciOiJIUzI1NiIsImV4cCI6MTQwMjk5MTA2MCwiaWF0IjoxNDAyOTg3NDYwfQ.eyJpZCI6Ijg3YTBlZmViLTEzNjgtNGU4Mi1hYzVkLTZiYWQ0YzYzZGZiYiJ9.c9kn43-6DtQp2qHFaHpztxe6cEWwXDbBOmF4T9yQ_n4: \
     -o logbook.pdf \
     "https://mycontrol.aero/api/latest/logbook?empty_page=true&documents=true"

Example response:

HTTP/1.0 200 OK
Content-Type: application/pdf; charset=UTF-8

%PDF-1.4
...
Query Parameters:
  • type – Aircraft type: AIRPLANE, HELICOPTER, GLIDER, MOTORGLIDER or SIMULATOR (default is AIRPLANE).

  • date_from – Start date (ISO-8601 format). If not provided, the logbook starts with the first flight.

  • date_to – End date (ISO-8601 format). If not provided, the logbook ends with the last flight.

  • empty_page – If true, an empty page is appended to the logbook (default is false).

  • documents – If true, related documents are appended to the logbook (default is false). Only valid GIF/JPG/PNG/TIFF/PDF files are appended.

  • monthly_breaks – If true, each month starts at a new page (default is false).

  • past_experience – If false, past experience is not included (default is true)

  • rows_per_page – Rows per page (default is 8 for flights, 16 for simulator).

  • total_pages – If false, the total number of pages is not shown in the footer (default is true)

  • local_time – If true, local times are displayed instead of UTC (default is false).

Request Headers:
Status Codes: