restapi-guideline icon indicating copy to clipboard operation
restapi-guideline copied to clipboard

offset param

Open makarela opened this issue 7 years ago • 1 comments

Dear devs, I'm writing concerning param offset, in documentation was written: Use offset instead of page and limit parameters. It is much more flexible for the client, e.g.. For example i've tried to search by category: GET /offers?offset=0&limit=5&country.code=PL&category.id=2 And when i want to extract next part of collection GET /offers?offset=5&limit=5&country.code=PL&category.id=2 i've got the same result and any changes in param offset working same way, everytime i've got the same result with same enteties.

My question is: what it colud be and why i am not able to extract next part of collection (I've already has registred REST API and have all necessary key

makarela avatar Jul 23 '17 15:07 makarela

I'll forward this question to offers team - generally, if offset parameter isn't working it could mean that it isn't implemented (and it isn't a bug - it's missing feature)

Zenedith avatar Oct 04 '17 04:10 Zenedith