hasadna/open-bus-map-search

stride-api: limit gtfs_ride_stops/list timeframe filtering

Aberta

#312 aberto em 16 de dez. de 2023

 (2 comentários) (0 reação) (1 responsável)TypeScript (125 forks)auto 404
backendgood first issue

Métricas do repositório

Stars
 (95 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 5h) (42 fundiu PRs em 30d)

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.

Guia do colaborador