diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-21 20:04:28 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-21 20:04:28 +0300 |
commit | 2b3bb61fb38fba736e20c2a713f1a00ba571047a (patch) | |
tree | c572d1fab676d688f001784cf63c21ebdd615957 /web/netdata-swagger.yaml | |
parent | 65791a0dab4e0a88ffa46385d6c8afbd1e968158 (diff) |
extended the badges API to support rendering alarms
Diffstat (limited to 'web/netdata-swagger.yaml')
-rw-r--r-- | web/netdata-swagger.yaml | 7 |
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.' |