summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-01-08 02:52:28 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-01-08 02:52:28 +0200
commit0bf086e577fa1ff42f227c48da15d3cbfaf1580a (patch)
treef64bd5fffd2e0468f5fe4705d4375e91d37cf17e /web/netdata-swagger.yaml
parentd38d115801c6ef42d2a6d17942db29f6d9c59fe7 (diff)
added API option percentage to return the percentage of each dimension against the sum of all dimensions; added easypiecharts for system values
Diffstat (limited to 'web/netdata-swagger.yaml')
-rwxr-xr-xweb/netdata-swagger.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml
index 7d7bc65607..bb1a0bcb41 100755
--- a/web/netdata-swagger.yaml
+++ b/web/netdata-swagger.yaml
@@ -101,7 +101,7 @@ paths:
description: 'The format of the data to be returned.'
required: true
type: string
- enum: [ 'json', 'jsonp', 'csv', 'tsv', 'tsv-excel', 'ssv', 'ssvcomma', 'datatable', 'datasource', 'html', 'array' ]
+ enum: [ 'json', 'jsonp', 'csv', 'tsv', 'tsv-excel', 'ssv', 'ssvcomma', 'datatable', 'datasource', 'html', 'array', 'csvjsonarray' ]
default: json
allowEmptyValue: false
- name: options
@@ -111,7 +111,7 @@ paths:
type: array
items:
type: string
- enum: [ 'nonzero', 'flip', 'jsonwrap', 'min2max', 'seconds', 'milliseconds', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'objectrows', 'google_json' ]
+ enum: [ 'nonzero', 'flip', 'jsonwrap', 'min2max', 'seconds', 'milliseconds', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'objectrows', 'google_json', 'percentage' ]
collectionFormat: pipes
format: ''
default: seconds|jsonwrap