02-03-2024 10:15 PM
Step -1
Rest API to get the collection info looks like
https://stage-data.xyz.com/v1/xyz-api/collections/models/info?page_size=100
Output:
Solved! Go to Solution.
02-06-2024 02:14 AM
Hello again,
As I mentioned above, this is not how a typical pagination would look like using the REST GET / HTTP Client Snap, since I'm not aware about any information in the response that can be used to set the Has Next and Next URL properties.
And since that you have the total number of pages in the info request, this approach will generate as many documents (requests) as you have pages.
If your parameters are static you can map them in the Map - Pages Mapper Snap and pass them in the JSON Splitter in the Include Paths section so you can use them in the REST GET Snap.
Please refer to the attached pipeline and let me know if this helps you.
Regards,
Aleksandar.
02-12-2024 12:43 AM
Yes, that is correct! The documents are being processed sequentially, one by one.