Jump to content

Template:API comparison

From mediawiki.org
This table: view · talk · edit
API Availability URL base Example
MediaWiki Action API Included with MediaWiki

Enabled on Wikimedia projects

/api.php https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Earth
MediaWiki REST API Included with MediaWiki 1.35+

Enabled on Wikimedia projects

/rest.php https://en.wikipedia.org/w/rest.php/v1/page/Earth
Wikimedia REST API Not included with MediaWiki

Available for Wikimedia projects only

/api/rest https://en.wikipedia.org/api/rest_v1/page/title/Earth
For commercial-scale APIs for Wikimedia projects, see Wikimedia Enterprise
Template documentation

This is the TemplateData documentation for this template used by VisualEditor and other tools.

API comparison

Used to list REST API types on the linked pages. No parameters.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified