HA480-API RevDraft10 — Heads Up Technologies
| Namespace | Path | Purpose |
|---|---|---|
/io | ws://localhost:8000/io | Cabin controls |
/map | ws://localhost:8000/map | Flight data |
/media | ws://localhost:8000/media | Media library, transport, cabin audio |
/ap | ws://localhost:8000/ap | Access point admin (non-spec) |
const socket = io("http://localhost:8000/io");
socket.on("update", data => console.log("update:", data));
socket.emit("request", { Get: "Lights" });
Most of these have a front end at /portal.
GET /dev/state — dump full mock statePOST /dev/reset — reset all state to defaultsPOST /dev/usb?present=false — simulate pulling the cabin USB drivePOST /dev/aircraft — fit a different airframe (manual shades, no cabin audio)POST /dev/cockpit?climate_locked=true — simulate a cockpit overridePOST /dev/pa?active=true — simulate a PA announcementPOST /dev/link?ready=false — drop the cabin link (lost / ready)POST /dev/map/scenario?name=onground — park the aircraft, with most flight data absentPOST /dev/map/ncd?omit=TrueAirspeed — report No Computed Data for a parameterPOST /dev/notifications — post a notification to every PEDGET /ap/status — real radio state and joined devicesGET /bt/status — real Bluetooth adapter state