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

routesDetails API call failing. #107

Open
scrudden opened this issue Sep 9, 2018 · 6 comments
Open

routesDetails API call failing. #107

scrudden opened this issue Sep 9, 2018 · 6 comments

Comments

@scrudden
Copy link
Member

scrudden commented Sep 9, 2018

The routesDetails api call is failing with

HTTP Status 400 - Bad Request

type Status report

message Bad Request

description The request sent by the client was syntactically incorrect.
@scrudden
Copy link
Member Author

scrudden commented Sep 9, 2018

The r parameter annotation is missing.

@QueryParam(value = "r") List<String> routeIdsOrShortNames

public Response getRouteDetails(@BeanParam StandardParameters stdParameters,
@Parameter(description="List of routeId or routeShortName. Example: r=1&r=2" ,required=false)
List<String> routeIdsOrShortNames,
@Parameter(description="If set then only the shape for specified direction is marked as being for the UI." ,required=false)
@QueryParam(value = "d") String directionId,
@Parameter(description="If set then only this stop and the remaining ones on "
+ "the trip pattern are marked as being for the UI and can be "
+ "highlighted. Useful for when want to emphasize in the UI only "
+ " the stops that are of interest to the user.",required=false)
@QueryParam(value = "s") String stopId,
@Parameter(description="If set then only the specified trip pattern is marked as being for the UI",required=false)
@QueryParam(value = "tripPattern") String tripPatternId)

scrudden added a commit that referenced this issue Sep 9, 2018
@scrudden
Copy link
Member Author

scrudden commented Sep 9, 2018

Actually caused by #109

@gelinger777
Copy link

I have used tc_issue_151 to deploy today the Transitime in docker and problem still exists on both Tampa and Halifax GTFS-es
http://116.203.215.167:8080/api/v1/key/aca5c746/agency/tampa/command/agencyGroup

@nselikoff
Copy link

@gelinger777 I believe this issue was actually fixed by #134 which has been merged into develop. I would recommend trying the develop branch.

@gelinger777
Copy link

gelinger777 commented Sep 17, 2019

@nselikoff I made a fresh build and deploy on docker from develop branch. The problem exists.

@gelinger777
Copy link

@nselikoff @scrudden any ideas how to fix this?

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

3 participants