add availableRoutes to the api (#371)