GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — API:REST API - MediaWiki

The MediaWiki REST API provides access to wiki content and functionality through a RESTful, HTTP interface. It supports operations like searching, getting and transforming wiki pages, and accessing page history.

Get started

Learn about the API and get started making basic API calls.

  • Quick start
  • Access and stability policies
API reference

Interact with the API and find documentation for each endpoint.

  • Special:RestSandbox on any Wikimedia wiki (English Wikipedia example)
  • API reference
  • Status codes and error messages
Tutorials

Explore working examples of how you can use the API.

  • Search Wikipedia articles
  • Explore page history
  • Reuse media files
User guides

Find instructions for tasks related to this API.

  • Authenticate with OAuth
  • Build REST APIs for extensions
  • Make CORS requests

API features

The MediaWiki REST API offers the following key features:

  • Build apps and scripts that access content from Wikipedia, or any other Wikimedia project.
  • Get data in JSON or HTML format.
  • Define extension-specific API endpoints within MediaWiki extensions.

Compared to the MediaWiki Action API , the REST API offers:

  • A smaller, more streamlined set of operations and resources.
  • Better performance, and cached responses to reduce system load on Wikimedia projects.
  • Simple, consistent URL structure for endpoints.

To learn more about how the MediaWiki REST API compares to other available APIs, see API .

Get help

  • Maintained by MediaWiki Interfaces Team.
  • Live chat (IRC): #mediawiki-core connect
  • Issue tracker: Phabricator MediaWiki-REST-API (Report an issue)

Contribute

These docs are written manually based on the MediaWiki Core source code. Corrections and additions are welcome! To share a tutorial or app that uses the MediaWiki REST API, add a comment on the Talk page.

Client libraries

  • Rust

APIs for Wikimedia wikis

For information about other APIs available for Wikimedia wikis, see Wikimedia APIs . See recent changes to all Wikimedia APIs at Wikimedia APIs/Changelog .

Retrieved from "https://www.mediawiki.org/w/index.php?title=API:REST_API&oldid=8454981"
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.