Jump to content
MediaWiki

Wikimedia REST API/pt

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Wikimedia REST API and the translation is 24% complete.
Status: See status of individual endpoints in the reference docs
Access: public
Projects: All major Wikimedia wikis
Framework: REST

A REST API da Wikimedia oferece acesso ao conteúdo e aos metadados da Wikimedia em formatos compreensíveis. Focado em casos de uso de alto volume, ele se integra perfeitamente à infraestrutura de cache distribuída globalmente da Wikimedia. Como resultado, os usuários da API se beneficiam de latências reduzidas e suporte para grandes volumes de solicitações.

Documentation

Reference

For reference documentation, select "Wikimedia REST APIs" on the REST Sandbox, which is also available on all Wikimedia projects (for example: REST Sandbox on English Wikipedia).

Embora a funcionalidade oferecida pela maioria dos projetos seja semelhante à da Wikipedia em inglês, existem algumas exceções dignas de nota:

Quick start

A API REST, juntamente com sua documentação, está disponível para todos os principais projetos da Wikimedia no local /api/rest_v1/. Por exemplo, para a Wikipédia em inglês está disponível por https://en.wikipedia.org/api/rest_v1/.

# Get metadata for the Earth article on English Wikipedia
curl'https://en.wikipedia.org/api/rest_v1/page/summary/Earth'

Try it out

Access policy

Stability policy

The REST API follows this API versioning policy.

Report a bug

Create an account on Wikimedia Phabricator , and tag the task with RESTBase-API.

Get help

Leave a comment on the discussion page.

Contribute

To edit the docs, see Gerrit/Tutorial to contribute to the OpenAPI descriptions.

Changelog

See also

AltStyle によって変換されたページ (->オリジナル) /