summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-08-21 20:04:28 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-08-21 20:04:28 +0300
commit2b3bb61fb38fba736e20c2a713f1a00ba571047a (patch)
treec572d1fab676d688f001784cf63c21ebdd615957 /web/netdata-swagger.yaml
parent65791a0dab4e0a88ffa46385d6c8afbd1e968158 (diff)
extended the badges API to support rendering alarms
Diffstat (limited to 'web/netdata-swagger.yaml')
-rw-r--r--web/netdata-swagger.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml
index 5d01a73f4c..c1049b12d3 100644
--- a/web/netdata-swagger.yaml
+++ b/web/netdata-swagger.yaml
@@ -157,6 +157,13 @@ paths:
format: 'as returned by /charts'
allowEmptyValue: false
default: system.cpu
+ - name: alarm
+ in: query
+ description: 'the name of an alarm linked to the chart'
+ required: false
+ type: string
+ format: 'any text'
+ allowEmptyValue: true
- name: dimension
in: query
description: 'zero, one or more dimension ids, as returned by the /chart call.'