pub struct GroupHomepage {Show 28 fields
pub deprecated: BTreeMap<String, String>,
pub custom_description: Option<String>,
pub custom_title: Option<String>,
pub default_view: String,
pub depth: i64,
pub description: String,
pub description_mode: String,
pub filter: Option<Vec<GroupHomepageFilter>>,
pub filters: Vec<GroupHomepageFilter>,
pub groups: Vec<PublicGroup>,
pub id: i64,
pub is_collapsed: bool,
pub is_enabled: bool,
pub meta: MetaDataEntityId,
pub name: String,
pub order_by: String,
pub order_direction: String,
pub parent_group: i64,
pub random_url: String,
pub show_filter: Option<bool>,
pub show_filters: bool,
pub show_group_images: bool,
pub show_leader: Option<bool>,
pub show_leaders: bool,
pub show_map: bool,
pub sort_by: Option<String>,
pub title_mode: String,
pub extra: Map<String, Value>,
}Expand description
Public group homepage settings, filter definitions, and all public groups displayed on the page.
Fields§
§deprecated: BTreeMap<String, String>Maps deprecated response field names to their replacements.
custom_description: Option<String>Stored custom description for the group homepage header.
custom_title: Option<String>Stored custom title for the group homepage header.
default_view: StringType how groups are listed on the page.
Allowed values: list, minitile, tile.
depth: i64Stored hierarchy depth. A request depth override changes loaded groups without changing this returned setting.
description: StringDescription of the group that owns the group homepage.
description_mode: StringHeader rendering choice: none hides the description, group uses description, custom uses customDescription. The API retains both stored texts regardless of this choice.
Allowed values: custom, group, none.
filter: Option<Vec<GroupHomepageFilter>>deprecated in the ChurchTools API
Deprecated alias of filters.
filters: Vec<GroupHomepageFilter>Specifies all filters that can be applied for this group homepage.
groups: Vec<PublicGroup>Eligible descendant groups after hierarchy loading and the current session’s public-group feature check. Parent group itself is excluded; clients may construct nesting from children IDs.
id: i64Group Homepage ID
is_collapsed: boolIf true, nested groups are collapsed by default.
is_enabled: boolWhether the group homepage is enabled. Clients should not display the group homepage if it is not enabled.
meta: MetaDataEntityId§name: StringName of the group homepage’s parent group.
order_by: StringGroup field to sort groups by.
Allowed values: dateOfFoundation, name.
order_direction: StringDirection if groups are sorted ascending or descending.
Allowed values: ASC, DESC.
parent_group: i64ID of the parent group of all groups that should be displayed in the group homepage
random_url: StringThe group homepage identifier (same as provided as hash request parameter).
show_filter: Option<bool>deprecated in the ChurchTools API
Deprecated alias of showFilters.
show_filters: boolIf true, selected filters are displayed.
show_group_images: boolIf true, the group homepage is set to display group images.
show_leader: Option<bool>deprecated in the ChurchTools API
Deprecated alias of showLeaders.
show_leaders: boolIf true, the group homepage is set to display the leaders of each group.
show_map: boolEffective map-display setting: true only when both the homepage setting and the installation openstreetmaps_enabled flag are true. Meeting-place data remains in groups when false.
sort_by: Option<String>Use ‘orderBy’ instead.
Use ‘orderBy’ instead.
Allowed values: dateOfFoundation, name.
title_mode: StringHeader rendering choice: none hides the heading, group uses name, custom uses customTitle. The API returns the individual fields rather than a resolved display title.
Allowed values: custom, group, none.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.