summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-04-30 16:09:37 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-04-30 16:09:37 +0000
commit51f689a8e17ff3929acd2dbf39e936d2cd3ac723 (patch)
tree92e54f543171b69dcbc639be09d11221cf96ba28 /web/netdata-swagger.yaml
parentNew upstream version 1.5.0+dfsg (diff)
downloadnetdata-51f689a8e17ff3929acd2dbf39e936d2cd3ac723.tar.xz
netdata-51f689a8e17ff3929acd2dbf39e936d2cd3ac723.zip
New upstream version 1.6.0+dfsgupstream/1.6.0+dfsg
Diffstat (limited to '')
-rw-r--r--web/netdata-swagger.yaml32
1 files changed, 30 insertions, 2 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml
index 00a038ce7..a74d66f5d 100644
--- a/web/netdata-swagger.yaml
+++ b/web/netdata-swagger.yaml
@@ -2,7 +2,7 @@ swagger: '2.0'
info:
title: NetData API
description: 'Real time data collection and graphs...'
- version: 1.4.1_master
+ version: 1.5.1_rolling
host: registry.my-netdata.io
schemes:
- http
@@ -283,6 +283,16 @@ definitions:
hostname:
type: string
description: 'The hostname of the netdata server.'
+ version:
+ type: string
+ description: 'netdata version of the server.'
+ os:
+ type: string
+ description: 'The netdata server host operating system.'
+ enum: [ 'macos', 'linux', 'freebsd' ]
+ history:
+ type: number
+ description: 'The duration, in seconds, of the round robin database maintained by netdata.'
update_every:
type: number
description: 'The default update frequency of the netdata server. All charts have an update frequency equal or bigger than this.'
@@ -292,6 +302,18 @@ definitions:
properties:
key:
$ref: '#/definitions/chart'
+ charts_count:
+ type: number
+ description: 'The number of charts.'
+ dimensions_count:
+ type: number
+ description: 'The total number of dimensions.'
+ alarms_count:
+ type: number
+ description: 'The number of alarms.'
+ rrd_memory_bytes:
+ type: number
+ description: 'The size of the round robin database in bytes.'
chart:
type: object
properties:
@@ -344,13 +366,19 @@ definitions:
properties:
key:
$ref: '#/definitions/dimension'
+ green:
+ type: number
+ description: 'Chart health green threshold'
+ red:
+ type: number
+ description: 'Chart health red trheshold'
dimension:
type: object
properties:
name:
type: string
description: 'The name of the dimension'
-
+
json_wrap:
type: object
properties: