REST URL design for greater than, less than operations

Pagination, greaterthan and lessthan, sound like query parameter to me, since you are queries your resource with these parameters. So you should do something like:

/customers?page=1, or
/customers?page=1&gt=716, or

You can even limit size of page:


where gt stands for greater than (same as in xml-escaping) and lt stands for less than.

Leave a Comment