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

Pagination on isochrone/journeys endpoint not working as expected #3988

Open
stephenprn opened this issue Apr 26, 2023 · 0 comments
Open

Pagination on isochrone/journeys endpoint not working as expected #3988

stephenprn opened this issue Apr 26, 2023 · 0 comments

Comments

@stephenprn
Copy link

Describe the bug
Paging parameters are ignored when using /journeys endpoint: count query param is set to 100 but there is always 10 journeys returned, start_page is set to 1, 6 or whatever, this is always the first page of journeys that are returned.

To Reproduce
Here is the API call: https://api.sncf.com/v1/coverage/sncf/journeys?from=stop_area%3ASNCF%3A87611004&datetime=2023-04-28T12%3A00%3A00&count=100&start_page=6

Expected behavior

  • The number of journeys returned reflect the count query param
  • The start_page query param is taken in account to fetch all results
@stephenprn stephenprn changed the title Pagination on isochrone/journeys endpoint npt working Pagination on isochrone/journeys endpoint not working as expected Apr 26, 2023
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