pub struct SimpleWikiPage {Show 15 fields
pub deprecated: SimpleWikiPageDeprecated,
pub guid: String,
pub identifier: Option<String>,
pub is_markdown: bool,
pub meta: MetaDataEntityPerson,
pub on_startpage: bool,
pub permissions: SimpleWikiPagePermissions,
pub redirect_to: Option<String>,
pub search_preview: Option<String>,
pub text: Option<String>,
pub text_preview: Option<String>,
pub title: String,
pub version: i64,
pub wiki_category: WikiCategory,
pub extra: Map<String, Value>,
}Expand description
Wiki page metadata for one version. Text and previews are optional enrichments depending on the endpoint. A page is addressed by category ID and stable GUID; version identifies its revision.
Fields§
§deprecated: SimpleWikiPageDeprecatedCompatibility marker used by existing clients.
guid: StringStable page GUID across versions in its category.
identifier: Option<String>Use guid instead.
Deprecated alias for guid. Use guid instead.
is_markdown: boolWhether page text is Markdown rather than legacy HTML.
meta: MetaDataEntityPerson§on_startpage: boolWhether the page is configured to appear on the wiki start page.
permissions: SimpleWikiPagePermissionsPage editing/deletion capabilities for the current user; system pages have additional restrictions.
redirect_to: Option<String>Stored redirect title. API reads return the page and this value; they do not follow the redirect.
search_preview: Option<String>Query-focused preview snippet. Present when the page list endpoint is called with a search query.
text: Option<String>Markdown source or sanitized legacy HTML. Absent from category lists and from /wiki/pages unless include[]=text is requested. Null stored content is returned as an empty string.
text_preview: Option<String>Unrendered prefix of stored page text, truncated by Unicode characters. May contain raw HTML or incomplete markup. Present only with include[]=preview; not sanitized like text.
title: String§version: i64Revision number of this page.
wiki_category: WikiCategoryA category organizes wiki pages and is the unit of wiki access permissions.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.