Wikipedia / MediaWiki · JSON Structure

Rest V1 Revision Info Structure

Complete information about the revision

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

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

Properties

name page_id rev tid comment restrictions tags user_id user_text timestamp redirect page_language

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/rest-v1-revision-info-structure.json",
  "name": "revisionInfo",
  "description": "Complete information about the revision",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "page_id": {
      "type": "int32"
    },
    "rev": {
      "type": "int32"
    },
    "tid": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "restrictions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "user_id": {
      "type": "int32"
    },
    "user_text": {
      "type": "string"
    },
    "timestamp": {
      "type": "datetime"
    },
    "redirect": {
      "type": "boolean"
    },
    "page_language": {
      "type": "string"
    }
  }
}