Skip to main content
PFStatisticsCreateStatisticDefinitionRequest data model.

Syntax

Members

aggregationSources   const char* const*
may be nullptr
(Optional) [In Preview]: The list of statistic definition names whose scores must be aggregated towards this stat. If AggregationSource is specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation source can be specified. aggregationSourcesCount   uint32_t Count of aggregationSources columns   PFStatisticsStatisticColumn const*
may be nullptr
(Optional) The columns for the statistic defining the aggregation method for each column. A maximum of 5 columns are allowed. columnsCount   uint32_t Count of columns customTags   PFStringDictionaryEntry const*
may be nullptr
(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). customTagsCount   uint32_t Count of customTags entityType   const char*
is null-terminated
(Optional) The entity type allowed to have score(s) for this statistic. eventEmissionConfig   PFStatisticsStatisticsEventEmissionConfig const*
may be nullptr
(Optional) [In Preview]: Configurations for different Statistics events that can be emitted by the service. name   const char*
is null-terminated
Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, ’(’, ’)’, ’_’, ’-’ and ’.’. versionConfiguration   PFVersionConfiguration const*
may be nullptr
(Optional) The version reset configuration for the statistic definition.

Requirements

Header: PFStatisticsTypes.h

See also

PFStatisticsTypes members
Last modified on August 31, 2026