API:Main page

From MediaWiki.org
(Redirected from API:Action API)
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Overview

This page provides an overview of the MediaWiki action API. This page is intended for technical contributors and software developers who wish to understand and use the MediaWiki action API.

Quick Start

Endpoint

All Wikimedia wikis have endpoints that follow this pattern: https://www.example.org/w/api.php

Examples of Wikimedia Wiki Endpoints
API Endpoint Wiki
https://www.mediawiki.org/w/api.php MediaWiki API
https://en.wikipedia.org/w/api.php English Wikipedia API
https://nl.wikipedia.org/w/api.php Dutch Wikipedia API
https://commons.wikimedia.org/w/api.php Wikimedia Commons API


Introduction

The MediaWiki action API is a web service that allows access to some wiki-features like authentication, page operations, and search. It can provide Meta information about the wiki and the logged-in user.

Uses for the MediaWiki Action API

  • Monitor a MediaWiki installation
  • Create a bot to maintain a MediaWiki installation
  • Log into a wiki, access data, and post changes by making HTTP requests to the web service

Getting started with MediaWiki action API

Before you start using the MediaWiki action API, you should review the following pages:

Other APIs

If you do not find what you are looking for in this API documentation, there are many other APIs related to Wikimedia projects. See the Web APIs hub for information on other APIs for Wikimedia project data and their usage.

Code stewardship