Pagination

Every response has a “Link” HTTP header element that contains URLs to retrieve the next and the previous page of data. The format of that data: {uri_prev}; rel=“prev”, {uri_next}; rel=“next”

Value of "rel"Description
nextCorresponds to a URI to retrieve the next page of data
prevCorresponds to a URI to retrieve the previous page of data
firstCorresponds to a URI to retrieve the first page of data
lastCorresponds to a URI to retrieve the last page of data

Example:

https://datasync-api.gg4l.com/datahub/services/ims/oneroster/v1p1/events?limit=100&offset=101; rel="next", https://datasync-api.gg4l.com/datahub/services/ims/oneroster/v1p1/events?limit=100&offset=0; rel="prev", https://datasync-api.gg4l.com/datahub/services/ims/oneroster/v1p1/events?limit=100&offset=0; rel="first", https://datasync-api.gg4l.com/datahub/services/ims/oneroster/v1p1/events?limit=100&offset=8900; rel="last"