summaryrefslogtreecommitdiffstats
path: root/web/api/README.md
blob: 8139980167ed56076a00ad39aac13bcd5d8ae0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# API

## Netdata REST API

The complete documentation of the netdata API is available at the **[Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/netdata/netdata/master/web/api/netdata-swagger.yaml)**.

If your prefer it over the Swagger Editor, you can also use **[Swagger UI](https://registry.my-netdata.io/swagger/#!/default/get_data)**. This however does not provide all the information available.

## Google charts API

netdata is a [Google Visualization API datatable and datasource provider](https://developers.google.com/chart/interactive/docs/reference), so it can directly be used with [Google Charts](https://developers.google.com/chart/interactive/docs/).

Check this [single chart, jsfiddle example](https://jsfiddle.net/ktsaou/ensu4uws/9/):

![image](https://cloud.githubusercontent.com/assets/2662304/23824762/1e236b84-0685-11e7-89f4-06fdf67d873a.png)

and this [multi chart, jsfiddle example](https://jsfiddle.net/ktsaou/L5y2eqp2/):

![image](https://cloud.githubusercontent.com/assets/2662304/23824766/31a4a68c-0685-11e7-8429-8327cab64be2.png)