Welcome to the Linux Foundation Forum!

How bookmark works in pagination?

I have a CRUD operation for Students. And i wanted to have a list of all students based on pagination. I am trying to use
getStateByPartialCompositeKeyWithPagination
API in order to get the paginated records. Initially the empty string in the bookmark works, but what for the next page of records. From where i would get the bookmark value? I believe its from the API response who returns an bookmark in response. But i could not find any object with metadata in response.
Do anyone has any example for the same?
Any comments would appreciate.

Regards,
Sumit

Answers

Categories

Upcoming Training