Realtime/SL

Reload feed

Re-read the data directory and rebuild every index.

POST /api/feed/reload

Re-decodes the protobuf files, redoes the static join and swaps the snapshot in atomically — readers hitting other endpoints mid-reload see the old snapshot, never a half-built one.

Takes a second or so, dominated by the static GTFS read. Since the shipped data is a fixed capture, reloading returns the same numbers; it exists for when the directory is repointed at a fresher pull.

Response

A single object under data, with no meta.

POST /api/feed/reload
curl -X POST "$API_BASE/api/feed/reload"
200 · application/json
{
  "data": {
    "reloadedAt": "2026-08-07T12:36:54.462Z",
    "files": 3,
    "decoded": 3,
    "counts": {
      "vehicles": 1116,
      "tripUpdates": 934,
      "alerts": 177
    }
  }
}
Captured from a local instance — this endpoint is not on the public API.