Wikimedia REST API/pt
|
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:
- en.wiktionary.org oferece um ponto final de definição experimental, expondo informações do Wikcionário como dados estruturados. O suporte para outros idiomas (em discursão).
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'
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 Wikimedia APIs/Changelog .
See also
- RESTBase, which is being deprecated, the technology behind the REST API
- Blog post announcing the 1.0 release. Describes several important production use cases, discusses how the REST API fits into Wikimedia's larger technical strategy, and provides pointers to some implementation details.
- The API is implemented using Node.js. This blog post describes our experience upgrading the REST API and other services to Node 6.
- MediaWiki Platform Team, product owners for the REST API.
- Core Platform Team/Initiatives/API Gateway (2020)
- Para a API REST incluída no MediaWiki 1.35 e posterior, consulte a API REST do MediaWiki Core.