Specs/Summary/1.0.0

From mediawiki.org

This page defines the spec for the RESTBase summary endpoint response format.

Summary response is a JSON object with the following fields:

Name Type Description
extract string First several sentences of an article in plain text
description string Wikidata description of the page
thumbnail object A lead image from the page
thumbnail.uri string Thumbnail image URI
thumbnail.width integer Thumbnail width
thumbnail.height integer Thumbnail height
lang string Page language code
dir enum Page language direction (RTL vs LTR)
timestamp datetime The time when the page was last edited in the ISO 8601 format