Disney API · JSON Structure

Disney Page Info Structure

Pagination envelope returned alongside every character response.

Type: object Properties: 4 Required: 2
EntertainmentCharactersDisneyOpen SourceFan APIRESTGraphQL

PageInfo is a JSON Structure definition published by Disney API, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

count totalPages previousPage nextPage

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/disney/refs/heads/main/json-structure/disney-page-info-structure.json",
  "name": "PageInfo",
  "description": "Pagination envelope returned alongside every character response.",
  "type": "object",
  "required": [
    "count",
    "totalPages"
  ],
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of records returned in this page.",
      "example": 2
    },
    "totalPages": {
      "type": "integer",
      "description": "Total number of pages for the current filter at the current pageSize.",
      "example": 4911
    },
    "previousPage": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "Absolute URL to the previous page, or null on the first page.",
      "example": null
    },
    "nextPage": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "Absolute URL to the next page, or null on the last page.",
      "example": "http://api.disneyapi.dev/character?page=2&pageSize=2"
    }
  }
}