Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing URIs for URI strategy #205

Open
pietercolpaert opened this issue Jul 26, 2016 · 0 comments
Open

Missing URIs for URI strategy #205

pietercolpaert opened this issue Jul 26, 2016 · 0 comments

Comments

@pietercolpaert
Copy link
Member

pietercolpaert commented Jul 26, 2016

We use 3 URI schemes which still should be implemented:

  1. http://irail.be/connections/{stop_id_without_zeros}/{iso8601departuredatewithoutdashesinEuropeBrusselstime}/{routeid}
  2. http://irail.be/vehicle/{route_id}
  3. http://irail.be/trips/{trip_id}

I suggest to 303 redirect 1 to something like this:
https://irail.be/vehicle/{route_id}?date={date}&from={stop_id}

Let's redirect 2 to today's date and let's give an overview page of today's trip.

3 is more difficult as it depends on the GTFS mapping of iRail. Let's keep that one not dereferenceable just yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant