You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The number of journeys returned reflect the count query param
The start_page query param is taken in account to fetch all results
The text was updated successfully, but these errors were encountered:
stephenprn
changed the title
Pagination on isochrone/journeys endpoint npt working
Pagination on isochrone/journeys endpoint not working as expected
Apr 26, 2023
Describe the bug
Paging parameters are ignored when using
/journeys
endpoint:count
query param is set to100
but there is always10
journeys returned,start_page
is set to1
,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
count
query paramstart_page
query param is taken in account to fetch all resultsThe text was updated successfully, but these errors were encountered: