restbus icon indicating copy to clipboard operation
restbus copied to clipboard

Links for tuple routes are incorrect

Open morganney opened this issue 6 years ago • 0 comments

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
]

morganney avatar Aug 03 '19 15:08 morganney