Skip to content

The Pagination object

Where a list's page sits: whether more items follow, and the cursor to read them.

Every list answers with one page of items in data and this object in pagination. To read the next page, send the same request again with cursor set to nextCursor: keep the same filters and sort, since a cursor belongs to them. No total count is given.

Fields

FieldType and description
limit

integer

The page size that was used.

hasMore

boolean

Whether another page follows this one.

nextCursor

string or null

Pass it as cursor to get the next page. null on the last page.

Example

The Pagination object
{
  "limit": 25,
  "hasMore": false,
  "nextCursor": null
}

Query parameters of every list

Each list's page names the fields it can be sorted by, its default order, and its own filters.

FieldType and description
limit

integer 1 to 100 Default 25

How many items to return, from 1 to 100. Default 25.

cursor

string 1 to 1,024 characters

The nextCursor of the previous page, exactly as it was given. Leave it out for the first page.

sort

string Up to 64 characters

The field to sort by. Each list names the fields it can be sorted by.

order

string

asc (smallest or oldest first) or desc. Each list has its own default.

One of: ascdesc

Returned by

OperationRequest
List clouds GET /v1/clouds
List a cloud's regions GET /v1/clouds/{cloud}/regions
List a cloud's plans GET /v1/clouds/{cloud}/plans
List servers GET /v1/servers
List a server's sites GET /v1/servers/{serverId}/sites
List a server's snapshots and backups GET /v1/servers/{serverId}/snapshots
List sites GET /v1/sites
List a site's domains GET /v1/sites/{siteId}/domains
List the domains of every site GET /v1/site-domains
List the requests a site's firewall stopped GET /v1/sites/{siteId}/firewall/events
List requests Cloudflare stopped on a site GET /v1/sites/{siteId}/protection/events
List a server's allowed and blocked addresses GET /v1/servers/{serverId}/security/addresses
List a site's malware threats GET /v1/sites/{siteId}/malware-protection/threats
List a site's cron jobs GET /v1/sites/{siteId}/cron-jobs
List a cron job's runs GET /v1/sites/{siteId}/cron-jobs/{jobId}/runs
List a site's backups GET /v1/sites/{siteId}/backups
List your backup storage GET /v1/backup-destinations
List support tickets GET /v1/tickets
List events GET /v1/events
List event types GET /v1/webhooks/event-types
List webhook endpoints GET /v1/webhooks/endpoints
List an endpoint's deliveries GET /v1/webhooks/endpoints/{endpointId}/deliveries

Popular

API docs