Home
Wikipedia / MediaWiki
Mediawiki Action Api Action Api Write Request Structure
Mediawiki Action Api Action Api Write Request Structure
ActionApiWriteRequest schema from MediaWiki Action API
Type: object
Properties: 22
Required: 1
Open Data Public APIs Open Knowledge Encyclopedia Knowledge Graph Open-Source Non-Profit
ActionApiWriteRequest is a JSON Structure definition published by Wikipedia / MediaWiki, describing 22 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
name
pageid
text
appendtext
prependtext
summary
token
basetimestamp
starttimestamp
bot
minor
recreate
createonly
nocreate
lgname
lgpassword
lgtoken
filename
file
url
comment
tags
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-api-write-request-structure.json",
"name": "ActionApiWriteRequest",
"description": "ActionApiWriteRequest schema from MediaWiki Action API",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Page title for edit/move/delete/protect"
},
"pageid": {
"type": "int32",
"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": "datetime",
"description": "Timestamp of base revision for edit conflict detection"
},
"starttimestamp": {
"type": "datetime"
},
"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": "uri",
"description": "Source URL for action=upload (sideload)"
},
"comment": {
"type": "string",
"description": "Upload comment"
},
"tags": {
"type": "string",
"description": "Pipe-separated change tags"
}
},
"required": [
"token"
]
}
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-action-api-action-api-write-request-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 form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.