Skip to content

paginate

Pagination relating to the current iterable item, e.g. division.models, posts.

ACCESS

Directly accessible in:

Division Posts

Example

json
{
  "items": 69,
  "current_page": 2,
  "pages": 3,
  "next": [{
    "title": "Next",
    "url": "/news?is_published=1&category=news&limit=24&order_by=is_featured+DESC%2C+published_at+DESC&page=3"
  }],
  "previous": [{
    "title": "Previous",
    "url": "/news?is_published=1&category=news&limit=24&order_by=is_featured+DESC%2C+published_at+DESC&page=1"
  }]
}

Properties

items integer
current_page integer
pages integer
next array
title string
url string
previous array
title string
url string