Forum Discussion
Aleksandar_A
2 years agoContributor III
Hello adityamohanty,
You could with the following approach:
- Generate a document per page. (Dynamically based on the page count and page size from the initial response)
sl.range(1,$page_count+1,1).map(x => {"page":x, "page_size":$page_size})
- Split the array using JSON Splitter Snap.
- REST GET request per each document.
I chose this approach since I'm not aware of the format of the response of the models endpoint. If there are pagination information, you could achieve the same using REST GET Snap or HTTP Client Snaps with proper pagination enabled.
You can refer to the pipeline attached below and let me know if this helps you.
Regards,
Aleksandar.