WSO2 · Schema

Pagination

Pagination schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
offset integer
limit integer
total integer
next string Link to the next subset of resources qualified. Empty if no more resources are to be returned.
previous string Link to the previous subset of resources qualified. Empty if current subset is the first subset returned.
View JSON Schema on GitHub

JSON Schema

devportal-api-pagination-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/devportal-api-pagination-schema.json",
  "title": "Pagination",
  "description": "Pagination schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "offset": {
      "type": "integer",
      "example": 0
    },
    "limit": {
      "type": "integer",
      "example": 10
    },
    "total": {
      "type": "integer",
      "example": 1
    },
    "next": {
      "type": "string",
      "description": "Link to the next subset of resources qualified.\nEmpty if no more resources are to be returned.\n",
      "example": ""
    },
    "previous": {
      "type": "string",
      "description": "Link to the previous subset of resources qualified.\nEmpty if current subset is the first subset returned.\n",
      "example": ""
    }
  }
}