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

Links for tuple routes are incorrect #9

Open
morganney opened this issue Aug 3, 2019 · 0 comments
Open

Links for tuple routes are incorrect #9

morganney opened this issue Aug 3, 2019 · 0 comments

Comments

@morganney
Copy link
Owner

For example, this route http://restbus.info/api/agencies/sf-muni/tuples/F:5650,N:6997/predictions produces the following links:

Screen Shot 2019-08-03 at 8 42 54 AM

The from is really the self and reconsider the semantics of from and whether for this resource it should be a list of stop predictions used in the tuple:

[
  /agencies/sf-muni/routes/F/stops/5650/predictions
  /agencies/sf-muni/routes/N/stops/6997/predictions
]
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