Loading...
Cross shared collection | Cenit Admin

Basic info

Title
Wikimedia API 1.0.0-beta
Image
Thumb wikimedia api 1 0 0 beta logo
Name
wikimedia_api_1_0_0_beta
Tags
Summary
This API aims to provide coherent and low-latency access to Wikimedia content and services. It is currently in beta testing, so things aren't completely locked down yet. Each entry point has explicit stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). ### High-volume access - Don't perform more than 200 requests/s to this API. - Set a unique `User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well.
Readme

These collection have been automatically generated from a swagger specification

API specs supplied by Image title

Categories
IdTitleDescriptionUpdated at
mediaMediaMedia contentDecember 01, 2016 17:06
1 Categories
Authors
Name
Cenit Team
1 Cross collection authors
Pull count
2
Id
57b1ee9ead9815587a000578
Created at
August 15, 2016 16:32
Updated at
December 02, 2016 02:31

Compute

Snippets
NamespaceNameTypeDescriptionUpdated at
Wikimedia API 1.0.0-betadata-parsoid.jsonAuto detect - -
Wikimedia API 1.0.0-betalisting.jsonAuto detect - -
Wikimedia API 1.0.0-betaproblem.jsonAuto detect - -
Wikimedia API 1.0.0-betarevision.jsonAuto detect - -
Wikimedia API 1.0.0-betarevisionIdentifier.jsonAuto detect - -
Wikimedia API 1.0.0-betarevisionInfo.jsonAuto detect - -
Wikimedia API 1.0.0-betarevisions.jsonAuto detect - -
Wikimedia API 1.0.0-betasummary.jsonAuto detect - -
8 Snippets

Connectors

Connections
NamespaceNameUrlKeyTokenAuthorizationUpdated at
Wikimedia API 1.0.0-betaConnectionhttp://rest.wikimedia.org/en.wikipedia.org/v1 -
1 Connections
Webhooks
NamespaceNamePathMethodDescriptionAuthorizationUpdated at
Wikimedia API 1.0.0-betaPOST Media Math Check {type}/media/math/check/{{type}}postChecks the supplied TeX formula for correctness and returns the normalised formula representation as well as information about identifiers. Available types are tex and inline-tex. The response contains the `x-resource-location` header which can be used to retrieve the render of the checked formula in one of the supported rendering formats. Just append the value of the header to `/media/math/{format}/` and perform a GET request against that URL. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#unstable). -
Wikimedia API 1.0.0-betaGET Media Math Render {format} {hash}/media/math/render/{{format}}/{{hash}}getGiven a request hash, renders a TeX formula into its mathematic representation in the given format. When a request is issued to the `/media/math/check/{format}` POST endpoint, the response contains the `x-resource-location` header denoting the hash ID of the POST data. Once obtained, this endpoint has to be used to obtain the actual render. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#unstable). -
Wikimedia API 1.0.0-betaGET Page/page/getList page properties / page content sub-apis. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Stable) -
Wikimedia API 1.0.0-betaGET Page Data-parsoid/page/data-parsoid/getList titles for which the data-parsoid property is available. This currently only lists pages which have revisions stored in RESTBase. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Data-parsoid {title}/page/data-parsoid/{{title}}getRetrieve the latest data-parsoid (private Parsoid metadata) Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Data-parsoid {title}/page/data-parsoid/{{title}}/getList data-parsoid revisions for a page. This currently only lists revisions stored in RESTBase. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Data-parsoid {title} {revision}/page/data-parsoid/{{title}}/{{revision}}getRetrieve data-parsoid (internal Parsoid metadata) for a given page & revision Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Data-parsoid {title} {revision} {tid}/page/data-parsoid/{{title}}/{{revision}}/{{tid}}getRetrieve data-parsoid (internal Parsoid metadata) for a given page & revision Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Graph Png {title} {revision} {graph_id}/page/graph/png/{{title}}/{{revision}}/{{graph_id}}getRetrieve PNG graph images embedded in specific revisions of a page. See [the Graphoid documentation](https://www.mediawiki.org/wiki/Extension:Graph#Graphoid_service) for details. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Html/page/html/getList titles for which an HTML representation is available. Currently this only lists pages that have revisions stored in RESTBase. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) -
Wikimedia API 1.0.0-betaGET Page Html {title}/page/html/{{title}}getRetrieve the latest html for a title. The response provides an `ETag` header indicating the revision and render timeuuid separated by a slash (ex: `ETag: 701384379/154d7bca-c264-11e5-8c2f-1b51b33b59fc`). This ETag can be passed to the HTML save end point (as `base_etag` POST parameter), and can also be used to retrieve the exact corresponding data-parsoid metadata, by requesting the specific `revision` and `tid` indicated by the `ETag`. See [the MediaWiki DOM spec](https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec) for a description of the MediaWiki-specific semantic markup in this HTML. Note that additional metadata is available in the HTML head. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Page Html {title}/page/html/{{title}}postSave a new revision of a page given in HTML format. For new pages, or when editting the latest revision of a page, the `base_etag` parameter should be left empty. For editing old revisions, it should contain the `ETag` header of the revision the edit is derived from. The latest page revision ETag header could be provided in the If-Match header to detect edit conflicts. If the new page is created, appropriate user cookies must be provided. See [the MediaWiki DOM spec](https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec) for a description of the MediaWiki-specific semantic markup needed by this API end-point. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Html {title}/page/html/{{title}}/getList HTML revisions for a title. This currently only lists revisions that are already stored in RESTBase. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) -
Wikimedia API 1.0.0-betaGET Page Html {title} {revision}/page/html/{{title}}/{{revision}}getRetrieve the html for a given title, revision, and optionally timeuuid. The response provides an `ETag` header indicating the revision and render timeuuid separated by a slash (ex: `ETag: 701384379/154d7bca-c264-11e5-8c2f-1b51b33b59fc`). This ETag can be passed to the HTML save end point (as `base_etag` POST parameter), and can also be used to retrieve the exact corresponding data-parsoid metadata, by requesting the specific `revision` and `tid` indicated by the `ETag`. See [the MediaWiki DOM spec](https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec) for a description of the MediaWiki-specific semantic markup in this HTML. Note that additional metadata is available in the HTML head. This HTML can be edited using arbitrary HTML tools. The modified HTML can be converted back to wikitext using the [/transform/html/to/wikitext{/title}{/revision}](#!/Transforms/transform_html_to_wikitext__title___revision__post) entry point. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Html {title} {revision} {tid}/page/html/{{title}}/{{revision}}/{{tid}}getRetrieve the html for a given title, revision, and optionally timeuuid. The response provides an `ETag` header indicating the revision and render timeuuid separated by a slash (ex: `ETag: 701384379/154d7bca-c264-11e5-8c2f-1b51b33b59fc`). This ETag can be passed to the HTML save end point (as `base_etag` POST parameter), and can also be used to retrieve the exact corresponding data-parsoid metadata, by requesting the specific `revision` and `tid` indicated by the `ETag`. See [the MediaWiki DOM spec](https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec) for a description of the MediaWiki-specific semantic markup in this HTML. Note that additional metadata is available in the HTML head. This HTML can be edited using arbitrary HTML tools. The modified HTML can be converted back to wikitext using the [/transform/html/to/wikitext{/title}{/revision}](#!/Transforms/transform_html_to_wikitext__title___revision__post) entry point. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Mobile-sections-lead {title}/page/mobile-sections-lead/{{title}}getRetrieve the lead section of the latest HTML for a page title optimised for viewing with native mobile applications. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Mobile-sections-remaining {title}/page/mobile-sections-remaining/{{title}}getRetrieve the remainder of the latest HTML (without the lead section) for a page title optimised for viewing with native mobile applications, provided as a JSON object containing the sections. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Mobile-sections {title}/page/mobile-sections/{{title}}getRetrieve the latest HTML for a page title optimised for viewing with native mobile applications. Note that the output is split by sections. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Mobile-text {title}/page/mobile-text/{{title}}getRetrieve the *lite* version of the latest HTML for a page title optimised for viewing with native mobile applications. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Revision/page/revision/getList revisions. This currently only lists revisions stored in RESTBase. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Revision {revision}/page/revision/{{revision}}getGet metadata about a specific revision. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaGET Page Summary {title}/page/summary/{{title}}getReturns the summary of the latest page content available in storage. Currently the summary includes the text for the first several sentences and the thumbnail URL. Provide a `Cache-Control: no-cache` header to request the latest data. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) -
Wikimedia API 1.0.0-betaGET Page Title/page/title/getList all pages. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental). Don't rely on this. -
Wikimedia API 1.0.0-betaGET Page Title {title}/page/title/{{title}}getReturns the latest revision ID for the title present in storage. Supply the Cache-Control: no-cache header to obtain the latest available revision ID Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) -
Wikimedia API 1.0.0-betaGET Page Title {title}/page/title/{{title}}/getList revisions for a title. Currently this lists all revisions that ever used this title and are stored in RESTBase, but eventually it should probably return the linear history (across renames) of the page currently using this title. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) -
Wikimedia API 1.0.0-betaPOST Page Wikitext {title}/page/wikitext/{{title}}postSave a new revision of a page. For new pages, or when editting the latest revision of a page, the `base_etag` parameter should be left empty. For editing old revisions, it should contain the ETag header of the revision the edit is derived from. The latest page revision ETag header could be provided in the If-Match header to detect edit conflicts. If the new page is created, appropriate user cookies must be provided. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Html/transform/html/to/htmlpostUpdate / refresh / sanitize HTML Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Html {title}/transform/html/to/html/{{title}}postUpdate / refresh / sanitize HTML Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Html {title} {revision}/transform/html/to/html/{{title}}/{{revision}}postUpdate / refresh / sanitize HTML Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Wikitext/transform/html/to/wikitextpostTransform HTML to wikitext Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Wikitext {title}/transform/html/to/wikitext/{{title}}postTransform HTML to wikitext Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Html To Wikitext {title} {revision}/transform/html/to/wikitext/{{title}}/{{revision}}postTransform HTML to wikitext Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Sections To Wikitext {title} {revision}/transform/sections/to/wikitext/{{title}}/{{revision}}postTransform sections representation to wikitext Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Wikitext To Html/transform/wikitext/to/htmlpostTransform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Wikitext To Html {title}/transform/wikitext/to/html/{{title}}postTransform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
Wikimedia API 1.0.0-betaPOST Transform Wikitext To Html {title} {revision}/transform/wikitext/to/html/{{title}}/{{revision}}postTransform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) -
36 Webhooks
Connection Roles
NamespaceNameWebhooksConnectionsUpdated at
Wikimedia API 1.0.0-betaConnections -
1 Connection Roles

Data

Data Types
NamespaceNameSlugTypeStorage sizeUpdated at
Wikimedia API 1.0.0-betadata-parsoiddata_parsoidJson Data Type0 Bytes -
Wikimedia API 1.0.0-betalistinglistingJson Data Type0 Bytes -
Wikimedia API 1.0.0-betaproblemproblemJson Data Type0 Bytes -
Wikimedia API 1.0.0-betarevisionrevisionJson Data Type0 Bytes -
Wikimedia API 1.0.0-betarevisionIdentifierrevision_identifierJson Data Type0 Bytes -
Wikimedia API 1.0.0-betarevisionInforevision_infoJson Data Type0 Bytes -
Wikimedia API 1.0.0-betarevisionsrevisionsJson Data Type0 Bytes -
Wikimedia API 1.0.0-betasummarysummaryJson Data Type0 Bytes -
8 Data Types

Config

Namespaces
NameSlugUpdated at
Wikimedia API 1.0.0-betawikimedia_api_1_0_0_beta -
1 Namespaces

Metadata