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

transport.rest and vbb.transport.rest are deprecated #1

Open
derhuerst opened this issue Feb 24, 2018 · 6 comments
Open

transport.rest and vbb.transport.rest are deprecated #1

derhuerst opened this issue Feb 24, 2018 · 6 comments

Comments

@derhuerst
Copy link

Hey! This is the author of vbb-rest, deployed at transport.rest and vbb.transport.rest. Nice to see that you (seem to) use my service!

I'm here to let you know that The API & formats deployed at transport.rest and vbb.transport.rest are deprecated. Please use the new API, deployed at 2.vbb.transport.rest. You can find docs for the new format in the vbb-rest repo.

@derhuerst
Copy link
Author

Because I haven't built a proper deprecation mechanism, at vbb.transport.rest, I've started to randomly let requests fail with a deprecation note.

@derhuerst
Copy link
Author

I've shut it off now.

@derhuerst derhuerst reopened this Jun 4, 2018
@derhuerst
Copy link
Author

I won't run the public endpoint at 2.vbb.transport.rest for the time being. Maybe VBB and I will find a compromise when we meet next week. Refer to derhuerst/vbb-rest#29 for more details.

From the updated vbb-rest readme:

If you use JavaScript to process the data, use vbb-hafas directly, otherwise host your vbb-rest instance for now.

@derhuerst
Copy link
Author

I have set up a new API: 1.bvg.transport.rest provides data from the BVG endpoint. It returns almost exactly the same data as 2.vbb.transport.rest, but in the output format of [email protected], so you will have to make minor adjustments. Check the docs at derhuerst/bvg-rest!

@derhuerst
Copy link
Author

I have set up v5.vbb.transport.rest, the successor of 3.vbb.transport.rest. As usual, unfortunately the response format has changed slightly (to the format of hafas-client@5, make sure to check its migration guide).

I will keep 3.vbb.transport.rest running for a while, and announce its shutdown via RSS before.

@derhuerst
Copy link
Author

I have deprecated 3.vbb.transport.rest and will shut it off in a month. Please migrate to v5.vbb.transport.rest.

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