An application calls a REST API and expects a result set of more than 550 records, but each time the call is made, only 25 are returned. Which feature limits the amount of data that is returned by the API?
When a REST API limits the amount of data returned in a response, it often uses pagination. Pagination breaks the response into smaller, more manageable chunks, allowing the client to retrieve the data in multiple requests.
Pagination: Limits the number of records returned in a single response, requiring additional requests to retrieve subsequent records.
Payload limit: Restricts the size of the response payload but is not the specific feature for controlling record count.
Rate limiting: Controls the number of requests a client can make in a given time period.
Service timeouts: Define how long the server will wait for a request to complete before timing out.
[Reference: API Pagination, , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit