You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When quering collections of data (GetList) in our WebAPI, we do not control the page size of the data to be retrieved, i.e. if someone said per-page=1000000 then we'd return up to 1000000 entities in our response. That would be good if we can introduce (configurable) limits on the data page size for List queries.
Also, if this logic is implememtned, we need to let customers know, what was the real page size used versus the one they asked for. For these purposes we can either adjust the existing PagedList response or return additional information in the response headers:
andriikaplanovskyi
changed the title
FEATURE: Provide page size limits for GetList queries
FEATURE: Provide page size limits for List queries
Jun 23, 2023
When quering collections of data (GetList) in our WebAPI, we do not control the page size of the data to be retrieved, i.e. if someone said per-page=1000000 then we'd return up to 1000000 entities in our response. That would be good if we can introduce (configurable) limits on the data page size for
List
queries.Also, if this logic is implememtned, we need to let customers know, what was the real page size used versus the one they asked for. For these purposes we can either adjust the existing
PagedList
response or return additional information in the response headers:X-Pagination-Per-Page,
X-Pagination-Total-Count,
X-Pagination-Page-Count,
X-Pagination-Current-Page
cc @fabiomaistro @dcsl-alexis
The text was updated successfully, but these errors were encountered: