ActionApiWriteRequest

ActionApiWriteRequest schema from MediaWiki Action API

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen-SourceNon-Profit

Properties

Name Type Description
title string Page title for edit/move/delete/protect
pageid integer Alternative to title
text string Full wikitext content for action=edit
appendtext string
prependtext string
summary string Edit summary
token string CSRF token from query&meta=tokens
basetimestamp string Timestamp of base revision for edit conflict detection
starttimestamp string
bot boolean Mark as bot edit (requires bot right)
minor boolean
recreate boolean
createonly boolean
nocreate boolean
lgname string Login username (action=login)
lgpassword string Login password (action=login)
lgtoken string Login token
filename string Destination filename for action=upload
file string File contents for action=upload (multipart)
url string Source URL for action=upload (sideload)
comment string Upload comment
tags string Pipe-separated change tags
View JSON Schema on GitHub

JSON Schema

mediawiki-action-api-action-api-write-request-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-api-write-request-schema.json",
  "title": "ActionApiWriteRequest",
  "description": "ActionApiWriteRequest schema from MediaWiki Action API",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Page title for edit/move/delete/protect"
    },
    "pageid": {
      "type": "integer",
      "description": "Alternative to title"
    },
    "text": {
      "type": "string",
      "description": "Full wikitext content for action=edit"
    },
    "appendtext": {
      "type": "string"
    },
    "prependtext": {
      "type": "string"
    },
    "summary": {
      "type": "string",
      "description": "Edit summary"
    },
    "token": {
      "type": "string",
      "description": "CSRF token from query&meta=tokens"
    },
    "basetimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of base revision for edit conflict detection"
    },
    "starttimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "bot": {
      "type": "boolean",
      "description": "Mark as bot edit (requires bot right)"
    },
    "minor": {
      "type": "boolean"
    },
    "recreate": {
      "type": "boolean"
    },
    "createonly": {
      "type": "boolean"
    },
    "nocreate": {
      "type": "boolean"
    },
    "lgname": {
      "type": "string",
      "description": "Login username (action=login)"
    },
    "lgpassword": {
      "type": "string",
      "description": "Login password (action=login)"
    },
    "lgtoken": {
      "type": "string",
      "description": "Login token"
    },
    "filename": {
      "type": "string",
      "description": "Destination filename for action=upload"
    },
    "file": {
      "type": "string",
      "format": "binary",
      "description": "File contents for action=upload (multipart)"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Source URL for action=upload (sideload)"
    },
    "comment": {
      "type": "string",
      "description": "Upload comment"
    },
    "tags": {
      "type": "string",
      "description": "Pipe-separated change tags"
    }
  },
  "required": [
    "token"
  ]
}

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-action-api-action-api-write-request"
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.