RESTBase

Distributed storage with REST API & dispatcher for backend service for our Partner
More information: https://www.mediawiki.org/wiki/Services
Contact Info: services@lists.wikimedia.org
GNU Affero
http://opensource.org/licenses/AGPL-3.0

Access

Access to the API requires an api key to be provided by our Partner for all requests. The api key is passed as a header with the name `api_key` and the value provided by Reverb Technologies, Inc. Unless otherwise agreed upon, access to the Reverb API is intended solely for usage by our Partner and not third parties.

Methods

get: /{domain}/v1/page/{title}/data-parsoid/{revision}
getDataParsoidRevision
Returns the Parsoid data for the given revision

Parameters

domain (required)
Path Parameter — The domain under which the data resides'
title (required)
Path Parameter — The title of page content
revision (required)
Path Parameter — The revision

Return type


get: /{domain}/v1/page/{title}/html
getLatestHtml
Redirects to the latest html

Parameters

domain (required)
Path Parameter — The domain under which the data resides
title (required)
Path Parameter — The title of page content

Return type

defaultError

get: /{domain}/v1/page/{title}/html/
listRevisions
Returns the list of revisions

Parameters

domain (required)
Path Parameter — The domain under which the data resides
title (required)
Path Parameter — The title of page content

Return type

array[revisions]

get: /{domain}/v1/page/{title}/html/{revision}
getHtmlRevision
Returns the html for the given revision

Parameters

domain (required)
Path Parameter — The domain under which the data resides'
title (required)
Path Parameter — The title of page content
revision (required)
Path Parameter — The revision

Return type


Models

DefaultError

code
Integer
message
String

InvalidRevision

code
Integer
method
String
title
String
type
String
uri
String

NotFound

code
Integer
type
String
title
String
description
String
localURI
String
table
String
uri
String
method
String

Revisions

items
array[String]