AerScheduler

Widgets

One compact read of what a member needs to see right now, sized for a home-screen widget or a wall display.

1 endpoint · base URL https://api.aerscheduler.com

get/widgets/snapshot

Everything a home-screen widget renders

One read that answers "what does this person need to see right now": their next flights, their expiring currencies, what they owe, the fleet's day, and, for staff, the maintenance queue.

Built for the AerScheduler iOS widgets, which poll it on a timer, so it is deliberately one round trip and every list is capped at six rows (twelve for the fleet). It is the same set of facts the other endpoints serve, already reduced to what fits on a card, which is also what makes it a reasonable thing to poll from a dashboard or a wall display.

Any member may call it, and the shape depends on who they are. squawks and inspections are OMITTED rather than zeroed for a caller who may not read maintenance, because zero open squawks and no permission to see them are different facts and a widget must not paint the second as the first. Check canSeeMaintenance. training is present only for a student with a live enrollment, and instructor only for an instructor.

fleet is the whole organization's day, not just the caller's bookings, which is what makes an aircraft's status true.

Responses

200OKSuccess.{ data: WidgetSnapshot }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/widgets/snapshot \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"