Bahnhofs-Katalog einer Stadt, alle DB-Bahnhöfe (StaDa, Tier A)
Changed onListe ALLER DB-Bahnhöfe im Stadtgebiet (Zuordnung über den amtlichen Gemeindeschlüssel: StaDa municipalityCode == Stadt-ags), nicht nur der Fernverkehrs-Hbf. Je Bahnhof eva (EVA-Nummer, füttert GET /stations/{eva}/departures), name, station_category (1-7, das gleichwertige category ist abgekuendigt), lat, lon, post_code (fuenfstelliger String; das gleichwertige zip ist abgekuendigt). Quelle: Deutsche Bahn AG / StaDa (CC BY 4.0). Ohne Zugangsdaten ODER Toggle aus -> 200 source_status="disabled"; kein DB-Bahnhof im Stadtgebiet -> 200 source_status="no_data". Volle Abdeckung (alle Städte).
Request
- Base URLhttps://infranode.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Optionaler Namensfilter: umlaut-toleranter Teilstring-Match auf dem Bahnhofsnamen (munchen UND muenchen matchen "München Hbf"). Kein Treffer -> 200 source_status="no_data".
Kappt die sortierte Liste (Default: alle Bahnhöfe). Werte über 100 werden auf 100 geklemmt; nicht-numerisch oder kleiner 1 -> 422.
Response
Katalog-Envelope (CanonicalRecord mit StationCatalogPayload) 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