メインコンテンツへスキップ
POST
Create Statistic Definition

承認

X-EntityToken
string
header
必須

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

ボディ

application/json
Name
string
必須

Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'.

AggregationSources
string[]

[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.

Columns
object[]

The columns for the statistic defining the aggregation method for each column. A maximum of 5 columns are allowed.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

EntityType
string

The entity type allowed to have score(s) for this statistic.

EventEmissionConfig
object

[In Preview]: Configurations for different Statistics events that can be emitted by the service.

VersionConfiguration
object

The version reset configuration for the statistic definition.

レスポンス

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
最終更新日 2026年10月6日