Skip to content

Response structure changes

Compare
Choose a tag to compare
@metekabak metekabak released this 01 Apr 15:18
· 18 commits to master since this release

Pagination response keys became solid,
Removed pagination links from meta

Full URL is removed from pagination links.

The example is shown below

"meta": {
    "pagination": {
        "total_count": 33279,
        "total_page": 1110
    }
},
"links": {
    "current": "?page[number]=3",
    "first": "?page[number]=1",
    "prev": "?page[number]=2",
    "next": "?page[number]=4",
    "last": "?page[number]=1110"
}