summaryrefslogtreecommitdiffstats
path: root/web/netdata-swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'web/netdata-swagger.yaml')
-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: