Get Wiki page by id
wiki_pages_get_by_idFetch a Yandex Wiki page by its numeric page ID instead of slug, with optional fields, revision selection, and redirect handling.
Instructions
A single page by its numeric id — the id-based twin of pages_get/pages_get_meta.
Use it when you hold a numeric page id (e.g. from a descendants listing or a write's
response) instead of the slug. fields follows the standard Wiki selector rules:
without it the response carries id/slug/title only; ask for content or
attributes explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Extra blocks (CSV), e.g. ``content,attributes,breadcrumbs``. Omitted = id/slug/title only. | |
| page_id | Yes | Numeric page id to fetch. | |
| revision_id | No | Show this past revision (an id from ``pages_revisions_list``). | |
| raise_on_redirect | No | Fail if the page is a redirect instead of following it. |