Identify if route is Flex

36 views
Skip to first unread message

Bailey Steele

unread,
Jun 21, 2024, 4:52:51 PM6/21/24
to OpenTripPlanner Users
Hi all,

I'm working on updating our trip planner to use OTP 2.5 with the new GraphQL API. This may be a silly question, but how do you identify if a leg of an itinerary contains a "flex" service?

In the older OTP days, the response body of the REST API would include a "callAndRide" key that indicated if the returned leg was a flex leg.

How are you all identifying these now?

Thank you!
Bailey Steele
Reply all
Reply to author
Forward
0 new messages