{
  "ok": true,
  "service": "mlos-beacon",
  "version": "1.1.0",
  "host": "beacon.mlos.us",
  "endpoints": {
    "GET /api": "This index",
    "GET /api/health": "Health check",
    "POST /api/beacon": "Record a telemetry ping (authorized). Body: { navMs, ttfbMs, ms, path, source }",
    "GET /api/beacon/latest": "Most recent telemetry ping",
    "GET /api/beacon/list": "Recent telemetry pings (?limit=20, max 100)",
    "POST /ping": "Record a device/trail ping (authorized). Body: { id, lat, lng, ... }",
    "GET /trail?id=": "Ping trail newest-first, plus pending requests (authorized)",
    "POST /request-ping": "Queue a remote ping request for an id (authorized). Body: { id }"
  },
  "previewOrigin": "https://68f574bc-c8ba-421c-8580-3de67935cae9-00-253sghl20ur5c.expo.riker.replit.dev"
}