Robert_Rainey | 2022-06-13 19:29:03 UTC | #1
I need to find a way to have API JSon responses that have multiple pages, to be created into a single page.
Anyone found a solution for this?
tim.smith | 2022-06-13 20:19:58 UTC | #2
The typical pattern for handling paging is to run the request in a loop until you're out of pages (or get the number you want) and concatenate the entities from each response into a single result set. Then you can process the results as a single set instead of per each page.
Robert_Rainey | 2022-06-14 12:10:39 UTC | #3
Tim Thanks for the response. Would you have an example of the solution, you referenced?
tim.smith | 2022-06-16 19:03:05 UTC | #4
Looks like there's an example of some batch processing in a loop here: https://developer.genesys.cloud/analyticsdatamanagement/recording/recordings-downloader
Robert_Rainey | 2022-06-16 01:39:37 UTC | #5
Thanks Tim. Very helpful.
system | 2022-07-17 01:40:24 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15132