Page with next link
Test list screens that need a next cursor.
View payload and cURL
Headers
none
Body
{
"items": [
{
"id": "evt_001",
"label": "Created"
},
{
"id": "evt_002",
"label": "Processed"
}
],
"page": {
"limit": 2,
"next_cursor": "evt_002"
}
}
Create with cURL
curl -i 'https://stubpoint.dev/api/endpoints' -H 'Content-Type: application/json' -d '{
"body": "{\n \"items\": [\n {\"id\": \"evt_001\", \"label\": \"Created\"},\n {\"id\": \"evt_002\", \"label\": \"Processed\"}\n ],\n \"page\": {\"limit\": 2, \"next_cursor\": \"evt_002\"}\n}",
"content_type": "application/json",
"headers": null,
"methods": [
"GET"
],
"status": 200
}'