API:Main page/cy

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
Get the contents of an article on English Wikipedia in HTML:

Endpoint
 All Wikimedia wikis have endpoints that follow this pattern: 

To see the endpoint URL on a particular wiki, see section "" on the Special:Version page.

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 in to 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:

These terms apply to you when you access or edit using the API, just as they do when you use your web browser.
 * API etiquette and usage guidelines
 * Frequently asked questions
 * Input and output formats
 * Errors and warnings
 * Any policies that apply to the wiki you want to access, such as Wikimedia Foundation wikis' terms of use and trademark policy.

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.

For the REST API included with MediaWiki 1.35 and later, see.