Add details for stoptimes index api
Closed this issue · 2 comments
hannesj commented
- Mode of tripPattern
- Stop boarding/alighting status
hannesj commented
Trott commented
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:
- http://localhost:8080/otp/routers/default/index/stops/ucsf%3Alhts/stoptimes/20150330?detail
- http://localhost:8080/otp/routers/default/index/stops/ucsf%3Alhts/stoptimes/20150330?detail=true
- http://localhost:8080/otp/routers/default/index/stops/ucsf%3Alhts/stoptimes/20150330?detail=long
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....