ActionResult

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

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

Properties

Name Type Description
batchcomplete string Present when the batch completed in one round-trip
continue object Continuation tokens for paginated responses
query object Result body for action=query
parse object Result body for action=parse
edit object Result body for action=edit
login object Result body for action=login
error object
warnings object
View JSON Schema on GitHub

JSON Schema

mediawiki-action-api-action-result-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-action-api-action-result-schema.json",
  "title": "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"
    }
  }
}