Pagination

GET /api/v1/51122a9841a1bc52b4000006/comments?per_page=10&page=2

curl

Hull.api('/api/v1/51122a9841a1bc52b4000006/comments', {
  "per_page":10,
  "page":2
},function(response){
  console.log('response')
});

Javascript

Any request that returns a collection has a page based pagination.

To navigate through the pages, add a per_page and a page parameter to your request.

  • per_page, number of items to display per page. 30 by default.
  • page, the page to retrieve. 1 by default.