Webvar
MediaWiki API | Rearc - logo

MediaWiki API | Rearc

This listing consists of an Amazon API Gateway that serves as proxy of the MediaWiki API. The MediaWiki Action API is a web service that allows access to some wiki features like authentication, page operations, and search. It can provide meta information about the wiki and the logged-in user.

Available in

AWS Marketplace

Available in

AWS Marketplace

Purchase this listing from Webvar in AWS Marketplace using your AWS account. In AWS Marketplace, you can quickly launch pre-configured software with just a few clicks. AWS handles billing and payments, and charges on your AWS bill.

About

In partnership with the AWS Data Exchange team, [Rearc](https://rearc.io/data) has developed this Product for educational and experimentation purposes for you to get familiar with [AWS Data Exchange for API](https://aws.amazon.com/data-exchange/why-aws-data-exchange/apis/). You can make API calls to this product just as you would make API calls to the [MediaWiki API](https://www.mediawiki.org/wiki/API:Main_page). The MediaWiki Action API is a web service that allows access to some wiki features like authentication, page operations, and search. It can provide meta information about the wiki and the logged-in user.

For example:

**GET request to obtain the wikitext content of the page**

```

aws dataexchange send-api-asset \

--data-set-id [REPLACE_ME] \

--revision-id [REPLACE_ME] \

--asset-id [REPLACE_ME] \

--method GET \

--path "/api.php?action=parse&page=Project:Sandbox&format=json" \

```

or

```

import requests

headers = {

'Content-Type': 'application/json',

'x-amzn-dataexchange-asset-id': ' [REPLACE_ME]',

'x-amzn-dataexchange-data-set-id': ' [REPLACE_ME]',

'x-amzn-dataexchange-revision-id': ' [REPLACE_ME]'

}

r = requests.request('GET', 'https://api-fulfill.dataexchange.us-east-1.amazonaws.com/v1/api.php?action=parse&page=Project:Sandbox&format=json' ,auth=aws_auth, headers=headers)

```

**Note:** Please see the Entitled Data page after subscribing to get your dataset id, revision id, asset id

This would result in a JSON response:

```

{

parse: {

title: "Pet door",

pageid: 3276454,

revid: 1092341865,

text: {

*: "<div class="mw-parser-output"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Best</div> ..."

}

...

```

## MediaWiki API

### About the MediaWiki API

[MediaWiki API](https://www.mediawiki.org/wiki/API:Main_page) The MediaWiki Action API is a web service that allows access to some wiki features like authentication, page operations, and search. It can provide meta information about the wiki and the logged-in user.

Related Products

How it works?

Search

Search 25000+ products and services vetted by AWS.

Request private offer

Our team will send you an offer link to view.

Purchase

Accept the offer in your AWS account, and start using the software.

Manage

All your transactions will be consolidated into one bill in AWS.

Create Your Marketplace with Webvar!

Launch your marketplace effortlessly with our solutions. Optimize sales processes and expand your reach with our platform.