Skip to content

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

@stephenprn

Description

@stephenprn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions