I am implementing pagination on a webservice. My first thought was to use query params page
and size
, like Spring Data.
However, we are basing some of our design on the google webservice apis. I notice that they use pagination tokens, with each page result containing a nextPageToken
. What are the advantages to using this approach? Changing data? What kind of info would be encoded in such a token?