REST Driver Pagination

Hello everyone,

i want to connect to a rest application to get the data via publisher GET calls, but this application segments responses for certain GET operations into pages. With one request / poll i just get a max of 50 items. So i have to do the request on a new url with a argument pagenumber=n again. Every request sends me "total" items and how many items on that page:

 

....],"size":50,"start":1,"total":16508}

 

Next Page:

 

....],"size":50,"start":51,"total":16508}

 

 Do you have any idea how to handle these poll events on the publisher channel to loop trough all pages?

I thought to let the application poll the first page, loop trough this event and do a query for all others.

Im very happy about every idea

Regards

Parents Reply Children
No Data