GitHub
08/11/2025, 7:46 AM/endpoint/{page}), the Meltano SDK does not provide a clear way to pass the next_page_token for use in the URL path in a RESTStream.
A possible solution could be to add the next_page_token as an optional parameter to get_url, and altering the call to get_url in the prepare_request method to pass along the next_page_token. This would be consistent with other method calls in prepare_request that pass along the next_page_token. Developers then would only have to override the get_url method to implement URL path pagination.
Another option could be to add the next_page_token to the context, which would pass on to get_url.
meltano/sdkGitHub
08/11/2025, 7:46 AM