get-revision
Retrieve a specific historical revision of a wiki page by revision ID, returning wikitext source, rendered HTML, or metadata only. Returns an error if the revision ID does not exist.
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 |