I searched many stack overflow answers,articles and could't get an concrete idea about this and that is why i'm asking this question,
References : 10 Best Practices for Better RESTful API
I am just wondering what should we need to use when we do pagination in rest apis,In spring framework they are providing (page,size)
by default to implement paging in apis and i think using (page, size)
is more human readable and make sense rather than (limit, offset)
, Is there any reason why spring is providing (page,size)
by default rather than limit,offset and many answers are to justify that (limit,offset)
is better than (page,size)
.