cities

POIs je Stadt, nach Typ gefiltert (OSM, Tier B)

Changed on

Liefert POIs einer Stadt aus OpenStreetMap im kanonischen Envelope, gefiltert nach dem Query-Parameter type. Der Typ wird gegen eine feste Liste geprüft; ein unbekannter Typ löst 422 aus. Die Daten stammen aus einem periodischen Precompute (OSM-Deutschland-Extrakt, wöchentlich); die Route liest read-only aus dem Store, nicht live. total_available nennt den echten Gesamtbestand, die items-Liste ist eine gedeckelte, paginierbare Stichprobe. Tier B (copyleft, ODbL). Deaktiviert -> 200 source_status="disabled"; noch kein Bestand -> 200 source_status="no_data".

get/api/v1/cities/{slug}/pois

Request

Path parameters

slugstring required

Query parameters

typestring required
Example:hospital

POI-Typ aus der erlaubten Liste (z.B. hospital, school, pharmacy).

Response

POI-Envelope (CanonicalRecord oder null)

Example response

{
  "data": {
    "attribution": {
      "text": "Wikidata"
    }
  }
}

Changes

    • breaking

      added to the ///// response property oneOf list for the response status

    • warning

      added the new amtliches_werk enum value to the ///// response property for the response status

    • warning

      added the new ec_reuse enum 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_base air_quality weather poi traffic_event transit_stop charging_station water_level flood_warning pollen_uv demographics energy_asset admin_boundary election_result holiday hospital road_event accident bathing_water bike_parking business_registrations charging_status_city charging_status civil_protection_warning count_station crime_stats district_heating event fire_danger fuel_price hospital_atlas indicator_series indicators insolvencies land_values mobility_point office_wait_times park_and_ride parking_onstreet parking population_density power public_tender regional_stat sharing solar solar_roofs station_arrivals station_catalog station_departures station_facilities tax_rates traffic_flow transit_departure transit_route_status transit_trip vehicle_registration weather_warning discriminator mapping keys to the ///// response property for the response status

    • info

      removed from the ///// response property oneOf list for the response status