Pagination

When you are using a list API route, we will most likely display this with pagination routes. (This is also visible on the documentation page itself)

Pagination will look like this:

{
    "data": [
        ... data objects ...
    ],
    "links": {
        "first": "http://ploi.io/api/{route}?page=1",
        "last": "http://ploi.io/api/{route}?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "http://ploi.io/api/{route}",
        "per_page": 15,
        "to": 3,
        "total": 3
    }
}