Live-Abfahrtstafel Haupt-Bahnhof der Stadt, alle Gattungen (DB Timetables, Tier A)
Changed onNächste Zugabfahrten am Haupt-Bahnhof der Stadt mit Echtzeit-Verspätung: Sollfahrplan (/plan) und aktuelle Abweichungen (/fchg) der DB-Timetables-API, je Bahnhof zu einer nach Abfahrt sortierten Liste zusammengeführt (line, category, destination, planned_time mit Zeitzone, platform, delay_minutes, cancelled, long_distance). trip_stop_id bezeichnet EINEN HALT EINER ZUGFAHRT und ist KEINE Haltestellen-ID; fuer /api/v1/live/{slug}/transit/departures wird die DELFI-ID aus /api/v1/cities/{slug}/transit gebraucht. Das gleichwertige stop_id ist abgekuendigt. Volle Abdeckung über alle 84 Städte: der Haupt-Bahnhof wird automatisch aus dem amtlichen StaDa-Katalog abgeleitet (für die großen Knoten eine verifizierte Auswahl). Quelle: Deutsche Bahn AG (CC BY 4.0). Ohne Zugangsdaten ODER Toggle aus -> 200 source_status="disabled"; keine Abfahrt im Zeitfenster -> 200 source_status="no_data". Ein einzelner gestörter Bahnhof wird übersprungen und die Tafel aus den erreichbaren Bahnhöfen gebaut; erst wenn alle Bahnhöfe gestört sind und kein Cache vorliegt -> 503 upstream_unavailable. Für einen bestimmten Bahnhof statt der Stadt-Auswahl dient /api/v1/stations/{eva}/departures.
Request
- Base URLhttps://infranode.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
Abfahrts-Envelope (CanonicalRecord mit StationDeparturesPayload) 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