taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 6994fe263616520eb88951898b3aad317d439ca3
parent 2d5ef28651bc72f850bf8df2fc9c51cd4ba0927a
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Wed,  2 Apr 2025 22:34:25 +0200

Update statistic API with descriptions

Diffstat:
Mcore/api-merchant.rst | 23+++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -1435,18 +1435,20 @@ Getting statistics // Statistics kept for a particular fixed time window. buckets: MerchantStatisticAmountByBucket[]; + // Human-readable bucket statistic description. + buckets_description: string; + // Statistics kept for a particular sliding interval. intervals: MerchantStatisticAmountByInterval[]; + // Human-readable interval statistic description. + intervals_description: string; } .. ts:def:: MerchantStatisticAmountByBucket interface MerchantStatisticAmountByBucket { - // Human-readable statistic description. - description: string; - // Start time of the bucket (inclusive) start_time: Timestamp; @@ -1466,9 +1468,6 @@ Getting statistics interface MerchantStatisticAmountByInterval { - // Human-readable statistic description. - description: string; - // Start time of the interval. // The interval always ends at the response // generation time. @@ -1510,18 +1509,21 @@ Getting statistics // Statistics kept for a particular fixed time window. buckets: MerchantStatisticCounterByBucket[]; + // Human-readable bucket statistic description. + buckets_description: string; + // Statistics kept for a particular sliding interval. intervals: MerchantStatisticCounterByInterval[]; + // Human-readable interval statistic description. + intervals_description: string; + } .. ts:def:: MerchantStatisticCounterByBucket interface MerchantStatisticCounterByBucket { - // Human-readable statistic description. - description: string; - // Start time of the bucket (inclusive) start_time: Timestamp; @@ -1541,9 +1543,6 @@ Getting statistics interface MerchantStatisticCounterByInterval { - // Human-readable statistic description. - description: string; - // Start time of the interval. // The interval always ends at the response // generation time.