Aller au contenu principal
CuteJSON
↑↓ Naviguer Enter Selectionner Esc Fermer

Pagination basee sur offset

Intermediaire Reponses API

Une reponse API utilisant la pagination basee sur offset avec compteur de page et total. Un exemple realiste pour votre projet ou vos tests.

{
  "data": [
    { "id": "post_021", "title": "Getting Started with JSON" },
    { "id": "post_022", "title": "Advanced JSON Techniques" },
    { "id": "post_023", "title": "JSON Schema Deep Dive" }
  ],
  "meta": {
    "total": 150,
    "page": 3,
    "perPage": 10,
    "totalPages": 15
  }
}
Exemples JSON