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

Pagination basee sur curseur

Intermediaire Reponses API

Une reponse API utilisant la pagination basee sur curseur avec le drapeau hasMore. Un exemple realiste pour votre projet ou vos tests.

{
  "data": [
    { "id": "msg_001", "text": "Hello" },
    { "id": "msg_002", "text": "World" },
    { "id": "msg_003", "text": "!" }
  ],
  "cursor": {
    "after": "msg_003",
    "hasMore": true
  }
}
Exemples JSON