Wikipedia / MediaWiki · JSON Structure

Mediawiki Core Rest Revision Structure

A page revision.

Type: object Properties: 10
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen-SourceNon-Profit

Revision is a JSON Structure definition published by Wikipedia / MediaWiki, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id page size minor timestamp content_model license user comment delta

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/wikipedia/refs/heads/main/json-structure/mediawiki-core-rest-revision-structure.json",
  "name": "Revision",
  "description": "A page revision.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "example": 1356767710
    },
    "page": {
      "type": "object",
      "properties": {
        "id": {
          "type": "int32"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "size": {
      "type": "int32",
      "description": "Byte size of revision"
    },
    "minor": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "datetime"
    },
    "content_model": {
      "type": "string",
      "example": "wikitext"
    },
    "license": {
      "type": "object",
      "properties": {
        "url": {
          "type": "uri"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "int32"
        },
        "name": {
          "type": "string",
          "example": "Jimbo Wales"
        }
      }
    },
    "comment": {
      "type": "string",
      "description": "Edit summary"
    },
    "delta": {
      "type": "int32",
      "description": "Byte delta from previous revision"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/mediawiki-core-rest-revision-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.