summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-06-05 11:14:31 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-06-05 11:14:31 +0300
commit57a7171e38949ca7334ca92b49b167e81250c803 (patch)
tree44778aad02febd3960d47b801d43512f7facdebc /web/netdata-swagger.yaml
parent8f75126632ddb4de6f59f1172c1bc4cf6cff6731 (diff)
added API option "unaligned" to allow getting unaligned data for any timeframe, fixes #253
Diffstat (limited to 'web/netdata-swagger.yaml')
-rw-r--r--web/netdata-swagger.yaml12
1 files changed, 2 insertions, 10 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml
index 55211b39de..2a80d4cd92 100644
--- a/web/netdata-swagger.yaml
+++ b/web/netdata-swagger.yaml
@@ -110,7 +110,7 @@ paths:
type: array
items:
type: string
- enum: [ 'nonzero', 'flip', 'jsonwrap', 'min2max', 'seconds', 'milliseconds', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'objectrows', 'google_json', 'percentage' ]
+ enum: [ 'nonzero', 'flip', 'jsonwrap', 'min2max', 'seconds', 'milliseconds', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'objectrows', 'google_json', 'percentage', 'unaligned' ]
collectionFormat: pipes
default: [seconds, jsonwrap]
allowEmptyValue: false
@@ -182,14 +182,6 @@ paths:
type: number
format: integer
default: 0
- - name: points
- in: query
- description: 'The number of points to be returned. If not given, or it is <= 0, or it is bigger than the points stored in the round robin database for this chart for the given duration, all the available collected values for the given duration are returned.'
- required: true
- type: number
- format: integer
- allowEmptyValue: false
- 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. Two methods are supported, "max" and "average". "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).'
@@ -205,7 +197,7 @@ paths:
type: array
items:
type: string
- enum: [ 'nonzero', 'flip', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'percentage' ]
+ enum: [ 'abs', 'absolute', 'absolute-sum', 'null2zero', 'percentage', 'unaligned' ]
collectionFormat: pipes
default: ['absolute']
allowEmptyValue: true