db-rest icon indicating copy to clipboard operation
db-rest copied to clipboard

v6: pagination not working due to realtime routing

Open debfx opened this issue 1 year ago • 4 comments

Pagination doesn't seem to be working with API v6.

For example https://v6.db.transport.rest/journeys?from=8096021&to=8000085&departure=2023-08-01 returns 3 results with the latest departure at 04:46.

Still both earlierRef and laterRef are null so it's not possible to do follow-up request for the next results.

API v5 https://v5.db.transport.rest/journeys?from=8096021&to=8000085&departure=2023-08-01 returns working earlierRef and laterRef.

debfx avatar Jun 26 '23 22:06 debfx