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
HTTP headers could be used for pagination (and ordering) in a more RESTful way.
Standard Accept-Ranges and Range HTTP header could be used to paginate lists.
My proposal is to adopt two custom units for ranges:
units or resources for limit-offset pagination
after or continue for passing a continuation token
A custom X-Order header could be introduced to set the list order, allowing an order field to be freely filtered without name collisions. In this case the header should have the following format:
X-Order: token; ASC | DESC
The text was updated successfully, but these errors were encountered:
Indeed, HTTP headers could be used. Can you point out the Accept-Ranges and Range in the standard?
Agree also for the X-Order header. Much better probably than specify an OrderColumn that overrides the order name (or using another one)
HTTP headers could be used for pagination (and ordering) in a more RESTful way.
Standard
Accept-Ranges
andRange
HTTP header could be used to paginate lists.My proposal is to adopt two custom units for ranges:
units
orresources
for limit-offset paginationafter
orcontinue
for passing a continuation tokenA custom
X-Order
header could be introduced to set the list order, allowing anorder
field to be freely filtered without name collisions. In this case the header should have the following format:The text was updated successfully, but these errors were encountered: