-
Notifications
You must be signed in to change notification settings - Fork 128
Needs for a version 2 of the API
Stephan Simart edited this page Sep 29, 2016
·
10 revisions
This page references all the misdirected needs.
- We forgot to show time zones : "20160929T175000+2"
- "-" are better : "2016-09-29T175000+2"
- same format in requests and responses
- "/coverage" exposes WKT, there is lots of geoJson : we have to be consistent
- every geoJson are enabled by default: it should be disabled by default, with a "enable_geojson" params
- the ODT lines schemas (and cabs zones) should represent area and not only a stop list
- with real-time information, a "max-age" information could be nice (with 304 http code implementation?)
- to be consistent with GTFS, we should replace "lon" "lat" with "latitude" "longitude"
- best management with empty lists: give an empty list :) or a 404
- replace "forbidden_uris" with "banned_id"
- replace "max_duration_to_pt" with "max_fallback_duration"
- replace "first_section_mode" and "last_section_mode" with "first_fallback_mode" and "last_fallback_mode"
- vehicle position
- rename "crow_fly" with "teleport" when null
- more consistent with "name" vs "label" property. "name" should be for internal uses, "label" to display.
- replace "forbidden_uris" with "banned_id"
- vehicle position
- flag on exact date when request with a calendar (not a date) and for a cross-midnight VJ
- there are awful