hasadna/open-bus-map-search

stride-api: limit gtfs_ride_stops/list timeframe filtering

Offen

#312 geöffnet am 16.12.2023

 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (125 Forks)auto 404
backendgood first issue

Repository-Metriken

Stars
 (95 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

As happened in https://github.com/hasadna/open-bus-stride-api/issues/26 , the gtfs_ride_stops/list api wan unusable without time filtering, because with no limit at all this query is was to heavy.

Add a limit in this API (and maybe open similar tickets to similar APIs that include time filtering) - If no time filters where given, as suggested in https://github.com/hasadna/open-bus-stride-api/issues/26, return an error from the BE, with an indicative msg.

Contributor Guide