GetStatistics

Function: getStatistics()

getStatistics<ThrowOnError>(options?): RequestResult<GetStatisticsResponses, GetStatisticsErrors, ThrowOnError>

Defined in: api/sdk.gen.ts:1412

Retrieves all available statistics in a single response. Intended for the administrative statistics page, which shows every statistic at once. Only accessible to board and candidate board members.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options?

Options<GetStatisticsData, ThrowOnError, unknown>

Returns

RequestResult<GetStatisticsResponses, GetStatisticsErrors, ThrowOnError>

On this page