Wikipedia / MediaWiki · JSON Structure

Mediawiki Action Api Action Result Structure

Generic envelope for Action API responses. Concrete payload shape depends on action and prop/list/meta selection.

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

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

Properties

batchcomplete continue query parse edit login error warnings

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-action-api-action-result-structure.json",
  "name": "ActionResult",
  "description": "Generic envelope for Action API responses. Concrete payload shape depends on action and prop/list/meta selection.",
  "type": "object",
  "properties": {
    "batchcomplete": {
      "type": "string",
      "description": "Present when the batch completed in one round-trip"
    },
    "continue": {
      "type": "object",
      "description": "Continuation tokens for paginated responses"
    },
    "query": {
      "type": "object",
      "description": "Result body for action=query"
    },
    "parse": {
      "type": "object",
      "description": "Result body for action=parse"
    },
    "edit": {
      "type": "object",
      "description": "Result body for action=edit"
    },
    "login": {
      "type": "object",
      "description": "Result body for action=login"
    },
    "error": {
      "$ref": "#/components/schemas/ActionApiError"
    },
    "warnings": {
      "type": "object"
    }
  }
}