Revision

A page revision.

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen-SourceNon-Profit

Properties

Name Type Description
id integer
page object
size integer Byte size of revision
minor boolean
timestamp string
content_model string
license object
user object
comment string Edit summary
delta integer Byte delta from previous revision
View JSON Schema on GitHub

JSON Schema

mediawiki-core-rest-revision-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/mediawiki-core-rest-revision-schema.json",
  "title": "Revision",
  "description": "A page revision.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 1356767710
    },
    "page": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "size": {
      "type": "integer",
      "description": "Byte size of revision"
    },
    "minor": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "content_model": {
      "type": "string",
      "example": "wikitext"
    },
    "license": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string",
          "example": "Jimbo Wales"
        }
      }
    },
    "comment": {
      "type": "string",
      "description": "Edit summary"
    },
    "delta": {
      "type": "integer",
      "description": "Byte delta from previous revision"
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mediawiki-core-rest-revision"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.