hasadna/open-bus-map-search

stride-api: limit gtfs_ride_stops/list timeframe filtering

Open

#312 opened on Dec 16, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)TypeScript (125 forks)auto 404
backendgood first issue

Repository metrics

Stars
 (95 stars)
PR merge metrics
 (PR metrics pending)

Description

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