I am pulling data from an API using the Web Hook connector. I get the data fine but it limits the number of records and uses a next url for the next batch. What is the recommended way to page through each set of results and store them in a final list of items?
Hi
Depends on the API documentation for how they handle pagination.
Are you able to provide a link to the documentation to reference?
links
self
https://api.planningcenteronline.com/people/v2/people/8675309/workflow_cards?filter=assigned
next
https://api.planningcenteronline.com/people/v2/people/8675309/workflow_cards?filter=assigned&offset=25
Here is a link to the documentation
Planning Center API Documentation
Here is an example of what it returns.
links
self
https://api.planningcenteronline.com/people/v2/people/8675309/workflow_cards?filter=assigned
next
https://api.planningcenteronline.com/people/v2/people/8675309/workflow_cards?filter=assigned&offset=25
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.