Live-ÖPNV-Verspätungslage einer Linie (GTFS-RT, Tier B)
Changed onAggregiert die aktiven Fahrten einer Linie aus dem GTFS-RT-Feed (Tier B): active_trips (Anzahl), avg_delay_s und max_delay_s, im Live-Envelope (refresh_seconds=45). Der Request-Pfad liest NUR aus Redis. Toggle aus -> disabled; keine aktiven Fahrten -> no_data. 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
GTFS-RT-Linien-ID. Fluechtig: frische IDs liefert GET /api/v1/live/{city}/transit/departures im Feld route_id. Eine abgelaufene ID ist kein Fehler, sondern 200 source_status="no_data".
Response
Live-Linienstatus-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