canceledTrips Query
Get pages of canceled trips. Planned cancellations are not currently supported. Limiting the number of
returned trips with either first or last is highly recommended since the number of returned trips
can be really high when there is a strike affecting the transit services, for example. Follows the
GraphQL Cursor Connections Specification .
Arguments
#
after
This parameter is part of the GraphQL Cursor Connections Specification
and should be used together with the first parameter.
before
This parameter is part of the GraphQL Cursor Connections Specification
and should be used together with the last parameter.
filters
Can be used to filter the results. When paging, the filter should not be changed between pages.
An empty list of filters or no value means that all trips should be included. Only one filter is allowed for now. Once new filtering criteria is introduced, this limitation will be removed.
first
Limits how many trips are returned. This parameter is part of the
GraphQL Cursor Connections Specification and can be used together with
the after parameter.
last
This parameter is part of the GraphQL Cursor Connections Specification
and should be used together with the before parameter.
Response
#
Returns TripOnServiceDateConnection .
Example
#
bikeRentalStations
cancelledTripTimes