Aazam Thakur
10/23/2023, 4:38 PMkapa.ai
10/23/2023, 4:38 PMCursorPagination strategy in your manifest.yaml file. You can extract the URL of the next page from the response headers and use it to fetch the next page of data. Here is an example of how you can set this up in your manifest.yaml file: yaml paginator: type: "DefaultPaginator" <...> pagination_strategy: type: "CursorPagination" cursor_value: "{{ headers['urls']['next'] }}" page_token_option: type: "RequestPath" In this example, cursor_value is set to "{{ headers['urls']['next'] }}", which means it will extract the URL of the next page from the response headers. The page_token_option is set to "RequestPath", which means the entire request URL for the subsequent request will be replaced by the cursor value. For example, if the endpoint to fetch data from is <https://cloud.airbyte.com/api/get_data>, the first request will be sent as <https://cloud.airbyte.com/api/get_data>. If the response's next url is <https://cloud.airbyte.com/api/get_data?page=1&page_size=100>, the next request will be sent as <https://cloud.airbyte.com/api/get_data?page=1&page_size=100>. You can find more details about this in the [Airbyte documentation](https://docs.airbyte.com/connector-development/config-based/understanding-the-yaml-file/pagination).