Yannick Sacherer
10/29/2024, 2:46 PMuser
10/29/2024, 2:46 PMlimit
value to set and configure how the limit and offset are injected into the HTTP requests. Most APIs accept these values as query parameters. Here is an example of how you could apply the Pagination configurations in the Connector Builder: - Mode: Offset Increment
- Limit: 2
- Inject limit into outgoing HTTP request: - Inject into: request_parameter
- Field name: limit
- Inject offset into outgoing HTTP request: - Inject into: request_parameter
- Field name: offset
This would cause your connector to make the following requests to the API in order to paginate through all of its data: GET <https://api.example.com/products?limit=2&offset=0> GET <https://api.example.com/products?limit=2&offset=2> GET <https://api.example.com/products?limit=3&offset=4>
For more details, you can refer to the [Airbyte documentation on Offset Increment](https://docs.airbyte.com/connector-development/connector-builder-ui/pagination#offset-increment).