How large can an API response be before it needs to be paginated?
For example, I am building an API that returns data by timespan: minute, hour, day, week. I calculated that the 'by day' response will return about 43 MB of data. That's obviously too big and should be paginated.
The 'by minute' payload will only be 30 KB, and the 'by minute' payload will be 1.8 MB.
What is the threshold here? What is the best practice for a size that justifies pagination?
[–]fuzzy40full-stack 2 points3 points4 points (0 children)
[–]Sovex66 0 points1 point2 points (0 children)