Pagination
Defines the metadata for the pagination used for providing the data on the given endpoint.
Properties
| Name | Type | Description |
|---|---|---|
| size | number | Represents how many items can be presented on one page. |
| totalPages | number | Represents how many pages are in total to fetch. |
| totalElements | number | Represents how many items are in total to fetch. |
| number | number | Represents the current page's number. |
| _links | object | Standard set of links related to pagination. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/newcastle/json-schema/newcastle-pagination-schema.json",
"title": "Pagination",
"description": "Defines the metadata for the pagination used for providing the data on the given endpoint.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/newcastle-collections-api-openapi.yml#/components/schemas/Pagination",
"type": "object",
"properties": {
"size": {
"type": "number",
"description": "Represents how many items can be presented on one page."
},
"totalPages": {
"type": "number",
"description": "Represents how many pages are in total to fetch."
},
"totalElements": {
"type": "number",
"description": "Represents how many items are in total to fetch."
},
"number": {
"type": "number",
"description": "Represents the current page's number."
},
"_links": {
"type": "object",
"description": "Standard set of links related to pagination.",
"properties": {
"first": {
"$ref": "#/$defs/HateoasLink"
},
"previous": {
"$ref": "#/$defs/HateoasLink"
},
"next": {
"$ref": "#/$defs/HateoasLink"
},
"last": {
"$ref": "#/$defs/HateoasLink"
}
},
"required": [
"first",
"last"
]
}
},
"required": [
"size",
"totalPages",
"totalElements",
"number",
"_links"
],
"$defs": {
"HateoasLink": {
"type": "object",
"properties": {
"href": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"DELETE"
]
},
"parameters": {
"$ref": "#/$defs/HateoasParameters"
}
},
"required": [
"href",
"type"
]
},
"HateoasParameters": {
"type": "object",
"additionalProperties": true,
"description": "Any relevant parameters that should be appended to the URL (for GET method) or passed as a payload for other HTTP methods."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/newcastle-pagination"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.