get-revision
Retrieve a historical revision of a wiki page by revision ID. Choose source wikitext, rendered HTML, or metadata only.
Instructions
Returns a specific historical revision of a wiki page by revision ID (wikitext source, rendered HTML, or metadata only). If the revision ID does not exist, an error is returned. For the latest revision plus metadata, use get-page with metadata=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revisionId | Yes | Revision ID | |
| content | No | Type of content to return | source |
| metadata | No | Whether to include metadata (revision ID, page ID, page title, user ID, user name, timestamp, comment, size, minor, HTML URL) in the response |