Skip to content

Instantly share code, notes, and snippets.

@timbuchwaldt
Created August 13, 2013 20:30
Show Gist options
  • Save timbuchwaldt/6225369 to your computer and use it in GitHub Desktop.
Save timbuchwaldt/6225369 to your computer and use it in GitHub Desktop.
json pagination
{
"results": [
....
],
"pagination":{
"total":321,
"pages":21,
"current":1
},
"links":{
"first":"/api/v1/places",
"last":"/api/v1/places?page=21",
"next":"/api/v1/places?page=2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment