-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Issue: Missing Parameters in API Request
The API no longer accepts the following parameters in the request:
previousAdvices:prev_advicesnextAdvices:next_advices
This change leads to unexpected behavior when loading trip data. Without these parameters, it is unclear how to properly request trips that differentiate between past and future departures.
Current Workaround:
I am currently checking whether the first object in the returned list occurs before the requested travel time. If it does, I discard it, as my use case only requires future departures. However, this is a temporary solution and may not be reliable.
Problem:
I am unsure how this issue should be addressed with the current API implementation. If there are alternative parameters or a new method for achieving this functionality, please provide clarification or update the documentation.
Steps to Reproduce:
- Make a request to the API without the
previousAdvicesandnextAdvicesparameters (since they are no longer supported). - Observe the inability to differentiate between past and future departures in the response.
- Attempt to filter departures based on the requested travel time.
Expected Behavior:
The API should:
- Continue supporting the
previousAdvicesandnextAdvicesparameters, or - Provide alternative parameters or guidance for filtering past and future trips effectively.
Additional Context:
This issue affects applications that require precise filtering of departures for trip planning purposes.