Added Departure model and departure data to /stops/ and /routes/ API endpoints. The API should be pretty much the as specified here, with a couple of minor differences:
departure data includes short_name
whole departures list is missing from the response if departures aren't requested
direction_id filter works also on /routes/ endpoint
Because Departures contain the info about a Trips activity, Calendar and CalendarDate models are no longer needed and thus removed.
Added
Departure
model and departure data to/stops/
and/routes/
API endpoints. The API should be pretty much the as specified here, with a couple of minor differences:short_name
departures
list is missing from the response if departures aren't requesteddirection_id
filter works also on/routes/
endpointBecause
Departure
s contain the info about aTrip
s activity,Calendar
andCalendarDate
models are no longer needed and thus removed.