Live-ÖPNV-Abfahrten je Halt mit Verspätung (GTFS-RT, Tier B)
Changed onLiefert die Live-Abfahrten eines Halts mit aktueller Verspätung aus dem GTFS-RT-Feed (gtfs.de bzw. Mobilithek-DELFI, CC-BY-SA = Tier B) im Live-Envelope (meta mit as_of und refresh_seconds=45, dem Poller-Takt). Der Request-Pfad liest NUR aus Redis: ein Hintergrund-Poller parst den Feed einmal je Takt, sodass nicht bei jedem Request ein 68-MB-Feed geparst wird. RT-only-Semantik: ausgeliefert werden ausschliesslich Trips mit Echtzeit-Update; Fahrplan-Sollzeiten sind NICHT enthalten. Traegt ein Update eine absolute Abfahrtszeit (z.B. Berlin/VBB), wird sie auf Zukunft geprueft (90-s-Grace) und aufsteigend sortiert; Delay-only- Updates ohne absolute Zeit (Regelfall im bundesweiten Feed) kommen MIT delay_s/delay_min und departure_time/minutes_until = null nach den zeitbehafteten Eintraegen. stop_id darf Parent- ODER Steig-Ebene sein (de:AGS:nr bzw. de:AGS:nr:bereich:steig), beide werden aufgeloest. meta weist zusaetzlich raw_updates_total und filtered_out aus (ehrliche Rohzahlen, keine stille Kappung). Toggle aus -> 200 source_status="disabled"; kein Update in Redis oder alles gefiltert -> 200 source_status="no_data"; ungültige stop_id -> 400. Reine Live-Daten, nur im Redis-Cache gehalten (Tier B).
Request
- Base URLhttps://infranode.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
DELFI-Halt-ID im Muster de:<AGS>:<id> (gegen eine Allowlist geprüft). Gültige IDs je Stadt liefert GET /api/v1/cities/{slug}/transit im Feld stop_id. NICHT die trip_stop_id der Bahnhofstafeln, die bezeichnet einen Halt einer Zugfahrt.
Response
Live-Abfahrten-Envelope (CanonicalRecord oder null)
Example response
{
"data": {
"attribution": {
"text": "Wikidata"
}
}
}Changes
- breaking
added to the
/////response propertyoneOflist for the response status - warning
added the new
amtliches_werkenum value to the/////response property for the response status - warning
added the new
ec_reuseenum value to the/////response property for the response status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added
city_baseair_qualityweatherpoitraffic_eventtransit_stopcharging_stationwater_levelflood_warningpollen_uvdemographicsenergy_assetadmin_boundaryelection_resultholidayhospitalroad_eventaccidentbathing_waterbike_parkingbusiness_registrationscharging_status_citycharging_statuscivil_protection_warningcount_stationcrime_statsdistrict_heatingeventfire_dangerfuel_pricehospital_atlasindicator_seriesindicatorsinsolvenciesland_valuesmobility_pointoffice_wait_timespark_and_rideparking_onstreetparkingpopulation_densitypowerpublic_tenderregional_statsharingsolarsolar_roofsstation_arrivalsstation_catalogstation_departuresstation_facilitiestax_ratestraffic_flowtransit_departuretransit_route_statustransit_tripvehicle_registrationweather_warningdiscriminator mapping keys to the/////response property for the response status
- breaking
- info
removed from the
/////response propertyoneOflist for the response status
- info