Pagination

Pagination

The Link response header includes pagination information. The following rel values may be present: first, prev, next, last.

Example response header from a request to /api/v1/data_sources?page=2&page_size=3, with line breaks added for clarity:

  
Link: </api/v1/data_sources?page=1&page_size=3>; rel="first",
      </api/v1/data_sources?page=1&page_size=3>; rel="prev",
      </api/v1/data_sources?page=3&page_size=3>; rel="next",
      </api/v1/data_sources?page=5&page_size=3>; rel="last"