Better Stack · JSON Structure

Better Stack Pagination Structure

Pagination links for list responses following JSON:API specification.

Type: object Properties: 4
IncidentsLogsMonitoringPlatformStatusUptimeObservabilityOn-CallHeartbeats

Pagination is a JSON Structure definition published by Better Stack, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

first last prev next

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/better-stack/refs/heads/main/json-structure/better-stack-pagination-structure.json",
  "name": "Pagination",
  "description": "Pagination links for list responses following JSON:API specification.",
  "type": "object",
  "properties": {
    "first": {
      "type": "uri",
      "description": "URL of the first page.",
      "example": "https://uptime.betterstack.com/api/v2/monitors?page=1"
    },
    "last": {
      "type": "uri",
      "description": "URL of the last page.",
      "example": "https://uptime.betterstack.com/api/v2/monitors?page=5"
    },
    "prev": {
      "type": "uri",
      "nullable": true,
      "description": "URL of the previous page, or null.",
      "example": null
    },
    "next": {
      "type": "uri",
      "nullable": true,
      "description": "URL of the next page, or null.",
      "example": "https://uptime.betterstack.com/api/v2/monitors?page=2"
    }
  }
}