Forum Discussion
If you put your logic in a loop like this, you can make y as large as you want. It will automatically end the loop when you run out of data.
<#list 1..3 as y>
<#assign username = restadmin("/users?page_size=1000&page=${y}") />
....
</#list>
This may not be the optimal way to do this. I'm very new at this, but it works.
>> If you put your logic in a loop...
That is is exactly what I'm doing. It doesn't work for me.
We have two Lithium boards I'm working with: One for commerical products and one for consumer. They BOTH return 0 results on any call with "page_size" greather than two (3 or greater). I KNOW there are more records than 2000 because we've been using Lithium for a long time and have products that go back many years.
This still smells of an API cap.
What else can I try/do?
Related Content
- 3 years ago
- 3 years ago