pub struct WikiCategory {
pub campus_id: Option<i64>,
pub file_access_without_permission: bool,
pub in_menu: bool,
pub name: String,
pub sort_key: i64,
pub id: i64,
pub name_translated: String,
pub permissions: GroupWikiCategoryPagesItemCategoryPermissions,
pub extra: Map<String, Value>,
}Expand description
A category organizes wiki pages and is the unit of wiki access permissions.
Fields§
§campus_id: Option<i64>Campus association, or null when no campus is assigned.
file_access_without_permission: boolWhether files in this wiki category can be read without category-view permission. This flag does not make the wiki pages themselves public.
Whether the category should appear in navigation menus; it is still returned by the category catalog when false.
name: StringCategory name; unlike page titles it is not trimmed.
sort_key: i64Sort order; negative values are accepted.
id: i64Wiki category ID used in category/page endpoint URLs.
name_translated: StringDisplay name translated for the current request language.
permissions: GroupWikiCategoryPagesItemCategoryPermissionsPage-operation hints based on category edit rights. Populated by the category list; normally empty in create/update and embedded page categories.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.