Often the final station for a line is closed and the train is terminating one stop earlier. If I were to set the direction parameter for /stations/:id/departures, will it only return trains ending there, or will all trains in that general direction be returned?
If I'm only interested in a certain direction, I feel like it might be safer to not use the direction parameter and just filter the results based on platform number?
Often the final station for a line is closed and the train is terminating one stop earlier. If I were to set the
directionparameter for/stations/:id/departures, will it only return trains ending there, or will all trains in that general direction be returned?If I'm only interested in a certain direction, I feel like it might be safer to not use the
directionparameter and just filter the results based on platform number?