Skip to content

Limiting the number of objects in the response | Pagination | #repeat | QueryParam #1387

Closed Answered by 255kb
BeardDude asked this question in Help
Discussion options

You must be logged in to vote

Hi, you are mixing two things: inline body templates and data buckets ("Data" tab).
The inline body template demonstrated in the tutorial you linked to is regenerated during each call. It's mostly stateless and offers no pagination feature. Though, you can achieve this by using rules or templating, which may be a bit cumbersome.

On the other hand, the data buckets are generated at runtime once and for all. Data buckets containing requests helpers (body, queryParam, etc) are only evaluated during the first call referencing them. That lets you create "configuration" endpoints. In both cases, they will never be regenerated again (unless you purge the state, but then it regenerates the bucket…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BeardDude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants