summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-08-16 13:36:44 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-08-16 13:36:44 +0300
commit7e6200e42ff1c44261bbb9567ce32e1c1ea53458 (patch)
tree474e9df3a8bb5f9ac4f418e914907fb52c84d84f /web/netdata-swagger.yaml
parentf78f32cd77f28a251d3a9a5f7423b2745ceaefa1 (diff)
the API now also support "min" group method
Diffstat (limited to 'web/netdata-swagger.yaml')
-rw-r--r--web/netdata-swagger.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml
index 85e4c85090..5d01a73f4c 100644
--- a/web/netdata-swagger.yaml
+++ b/web/netdata-swagger.yaml
@@ -89,10 +89,10 @@ paths:
default: 20
- name: group
in: query
- description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. 4 methods are supported, "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
+ description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. methods supported "min", "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
required: true
type: string
- enum: [ 'max', 'average', 'sum', 'incremental-sum' ]
+ enum: [ 'min', 'max', 'average', 'sum', 'incremental-sum' ]
default: 'average'
allowEmptyValue: false
- name: format
@@ -184,10 +184,10 @@ paths:
default: 0
- name: group
in: query
- description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. 4 methods are supported, "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
+ description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. methods are supported "min", "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).'
required: true
type: string
- enum: [ 'max', 'average', 'sum', 'incremental-sum' ]
+ enum: [ 'min', 'max', 'average', 'sum', 'incremental-sum' ]
default: 'average'
allowEmptyValue: false
- name: options