Wikimedia REST API
|
Wikimedia REST API, Wikimedia'nın içeriğine ve meta verilerine makine tarafından okunabilir biçimlerde erişim sağlar. Yüksek hacimli kullanım durumlarına odaklanarak Wikimedia'nın küresel olarak dağıtılmış önbelleğe alma altyapısıyla sıkı bir şekilde bütünleşir. Sonuç olarak, API kullanıcıları azaltılmış gecikmelerden ve yüksek istek hacimleri için destekten yararlanır.
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).
Çoğu proje tarafından sunulan işlevsellik İngilizce Vikipedi'deki yakından eşleşirken, bazı dikkate değer istisnalar vardır:
- en.wiktionary.org offers an experimental definition end point, exposing Wiktionary information as structured data. Support for other languages is under discussion.
Quick start
REST API, belgeleriyle birlikte /api/rest_v1/ konumunda tüm büyük Wikimedia projeleri için mevcuttur. Örneğin, İngilizce Vikipedi için https://en.wikipedia.org/api/rest_v1/ üzerinden temin edilebilir.
# 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/Eğitim to contribute to the OpenAPI descriptions.
Changelog
Ayrıca bakınız
- 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)
- For the REST API included with MediaWiki 1.35 and later, see the MediaWiki Core REST API.