HSLdevcom/OpenTripPlanner

Add details for stoptimes index api

Closed this issue · 2 comments

  • Mode of tripPattern
  • Stop boarding/alighting status

It would make sense (to me, at least) for those to require the detail query parameter. But is it me or does the documented detail flag have no effect at all on (say) index/stops API calls?

On my instance, I've tried:

But none of those results look any different than just:

Looking at src/main/java/org/opentripplanner/index/IndexAPI.java, I see the detail parameter being used to alter API results in a small number of API paths but it's documented for many more at http://dev.opentripplanner.org/apidoc/0.15.0/resource_IndexAPI.html. Guess it would help if I tried to find out how the documentation gets generated....